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 0dda737 commit a4a30aaCopy full SHA for a4a30aa
.github/workflows/docker-build.yml
@@ -59,6 +59,17 @@ jobs:
59
cache-from: type=local,src=/tmp/.buildx-cache
60
cache-to: type=local,dest=/tmp/.buildx-cache-new
61
62
+ - name: Production Tag Build and push
63
+ if: startsWith(github.ref, 'refs/tags/v')
64
+ uses: docker/build-push-action@v2
65
+ with:
66
+ context: .
67
+ push: true
68
+ tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_IMAGE_NAME }}:${{ github.event.ref }}
69
+ platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
70
+ cache-from: type=local,src=/tmp/.buildx-cache
71
+ cache-to: type=local,dest=/tmp/.buildx-cache-new
72
+
73
- name: Development Build and push
74
if: ${{ github.ref == 'refs/heads/develop' }}
75
uses: docker/build-push-action@v2
0 commit comments