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 f0e91c5 commit 3685308Copy full SHA for 3685308
.github/workflows/python-app.yml
@@ -104,6 +104,7 @@ jobs:
104
container:
105
needs: coverage
106
runs-on: ubuntu-latest
107
+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
108
109
permissions:
110
contents: read
@@ -128,7 +129,10 @@ jobs:
128
129
with:
130
context: .
131
push: true
132
+ platforms: linux/amd64
133
+ provenance: false
134
+ cache-from: type=gha
135
+ cache-to: type=gha,mode=max
136
tags: |
137
ghcr.io/${{ github.repository }}:latest
- ghcr.io/${{ github.repository }}:main
138
ghcr.io/${{ github.repository }}:sha-${{ github.sha }}
0 commit comments