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.
2 parents dcfa156 + fbee934 commit de53f3cCopy full SHA for de53f3c
.github/workflows/docker.yml
@@ -2,8 +2,6 @@ name: docker
2
3
on:
4
push:
5
- branches:
6
- - main
7
paths:
8
- .github/workflows/docker.yml
9
- build
@@ -30,12 +28,11 @@ jobs:
30
28
username: ${{ github.repository_owner }}
31
29
password: ${{ secrets.GITHUB_TOKEN }}
32
33
- - run: |
+ - name: Build and push image
+ run: |
34
image_tag="ghcr.io/${{ github.repository }}:${{ github.run_id }}"
35
- image_latest="ghcr.io/${{ github.repository }}:latest"
36
./build \
37
--tag "$image_tag" \
38
- --tag "$image_latest" \
39
--push
40
41
cat >"$GITHUB_STEP_SUMMARY" <<~~
0 commit comments