diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e817690..433be82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,8 @@ jobs: name: 'Publish: Docker Hub' if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) steps: + - name: Checkout + uses: actions/checkout@v3 - id: meta name: Docker Hub metadata uses: docker/metadata-action@v4 @@ -50,6 +52,9 @@ jobs: - name: Build and publish uses: docker/build-push-action@v3 with: + # Without context, .dockerignore is not respected? + # https://stackoverflow.com/a/74552407/514684 + context: . push: true tags: '${{ steps.meta.outputs.tags }}' labels: '${{ steps.meta.outputs.labels }}' |