File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Build and Push Docker Image
3
3
on :
4
4
push :
5
5
branches :
6
- - awscli_v2_check_connections
6
+ - ' ** '
7
7
8
8
jobs :
9
9
build-and-push :
@@ -33,16 +33,16 @@ jobs:
33
33
platforms : linux/amd64,linux/arm64
34
34
push : true
35
35
tags : |
36
- ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }}:check-connections
37
- ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }}:check-connections -${{ github.sha }}
36
+ ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }}:${{ github.ref_name }}
37
+ ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }}:${{ github.ref_name }} -${{ github.sha }}
38
38
39
39
- name : Update latest release with Docker image details
40
40
env :
41
41
GITHUB_TOKEN : ${{ secrets.GH_PAT }}
42
42
run : |
43
43
release_body="### ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }} image
44
44
\`\`\`shell
45
- ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }}:check-connections
46
- ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }}:check-connections -${{ github.sha }}
45
+ ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }}:${{ github.ref_name }}
46
+ ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }}:${{ github.ref_name }} -${{ github.sha }}
47
47
\`\`\`"
48
48
gh release create v${{ github.run_number }} --notes "$release_body"
You can’t perform that action at this time.
0 commit comments