From 5956063bb458eff5a69dfb015f953fc63f640425 Mon Sep 17 00:00:00 2001 From: David Muriasco Date: Mon, 14 Oct 2024 14:41:31 +0200 Subject: [PATCH] fix: Correction du context et de la branche principal --- .github/workflows/docker-publish.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index ffc294f..c4346c1 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -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 @@ -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 }}