We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 730766e commit 3af5368Copy full SHA for 3af5368
.github/workflows/build-docker.yaml
@@ -30,6 +30,6 @@ jobs:
30
id: push
31
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
32
with:
33
- push: ${{ startsWith(github.ref, 'refs/tags/') }} # only push to ghcr.io on tags
+ push: ${{ github.ref == 'refs/heads/main' }} # only push to ghcr.io on the main branch
34
tags: ghcr.io/${{github.repository}}:latest
35
context: . # use the current directory as context, as checked out by actions/checkout -- needed for setuptools_scm
0 commit comments