Skip to content

Commit

Permalink
fix: Correction du context et de la branche principal
Browse files Browse the repository at this point in the history
  • Loading branch information
David-IGN committed Oct 14, 2024
1 parent 5cbeb9a commit 5956063
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ on:
#schedule:
# - cron: '40 18 * * *'
push:
branches: [ "master" ]
branches: [ "main" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "master" ]
branches: [ "main" ]

env:
# Use docker.io for Docker Hub if empty
Expand Down Expand Up @@ -62,7 +62,8 @@ jobs:
id: build-and-push
uses: docker/build-push-action@v3
with:
context: ./docker
context: .
file: ./docker/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 5956063

Please sign in to comment.