File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1717 push_to_registry :
1818 name : Push Docker image to Docker Hub
1919 runs-on : ubuntu-latest
20+ env :
21+ VERSION : ${{ github.event.release.tag_name }} # Set VERSION from release version
2022 steps :
2123 - name : Check out the repo
2224 uses : actions/checkout@v4
3941 with :
4042 images : galette/galette
4143
44+ - name : Debug tags
45+ run : |
46+ echo "Generated tags: ${{ steps.meta.outputs.tags }}"
47+
4248 - name : Build and push Docker image
4349 uses : docker/build-push-action@v5.3.0
4450 with :
4854 push : true
4955 tags : ${{ steps.meta.outputs.tags }}
5056 labels : ${{ steps.meta.outputs.labels }}
57+ build-args : |
58+ GALETTE_VERSION=${{ env.VERSION }}
5159
5260 - name : Docker Hub Description
5361 uses : peter-evans/dockerhub-description@v4
You can’t perform that action at this time.
0 commit comments