File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,12 +33,16 @@ jobs:
3333 username : ${{ github.actor }}
3434 password : ${{ secrets.GITHUB_TOKEN }}
3535
36+ - name : Get latest tag pushed
37+ id : tag
38+ uses : 32teeth/action-github-tag@v1
39+
3640 - uses : docker/build-push-action@v5
3741 with :
3842 context : .
3943 file : DisBot.API/Dockerfile
4044 platforms : linux/amd64
4145 push : true
4246 tags : |
43- ghcr.io/disbotdevelopment/disbot-dashboard:${{ github.ref_name }}
47+ ghcr.io/disbotdevelopment/disbot-dashboard:${{ steps.tag.outputs.tag }}
4448 ghcr.io/disbotdevelopment/disbot-api:v2
Original file line number Diff line number Diff line change @@ -33,13 +33,17 @@ jobs:
3333 registry : ghcr.io
3434 username : ${{ github.actor }}
3535 password : ${{ secrets.GITHUB_TOKEN }}
36-
36+
37+ - name : Get latest tag pushed
38+ id : tag
39+ uses : 32teeth/action-github-tag@v1
40+
3741 - uses : docker/build-push-action@v5
3842 with :
3943 context : .
4044 file : DisBot.DiscordBot/Dockerfile
4145 platforms : linux/amd64
4246 push : true
4347 tags : |
44- ghcr.io/disbotdevelopment/disbot-dashboard:${{ github.ref_name }}
48+ ghcr.io/disbotdevelopment/disbot-dashboard:${{ steps.tag.outputs.tag }}
4549 ghcr.io/disbotdevelopment/disbot-bot:v2
Original file line number Diff line number Diff line change 3333 registry : ghcr.io
3434 username : ${{ github.actor }}
3535 password : ${{ secrets.GITHUB_TOKEN }}
36+
37+ - name : Get latest tag pushed
38+ id : tag
39+ uses : 32teeth/action-github-tag@v1
3640
3741 - uses : docker/build-push-action@v5
3842 with :
4145 platforms : linux/amd64
4246 push : true
4347 tags : |
44- ghcr.io/disbotdevelopment/disbot-dashboard:${{ github.ref_name }}
48+ ghcr.io/disbotdevelopment/disbot-dashboard:${{ steps.tag.outputs.tag }}
4549 ghcr.io/disbotdevelopment/disbot-dashboard:v2
You can’t perform that action at this time.
0 commit comments