Skip to content

Commit de53f3c

Browse files
authored
Merge pull request #3: Build on all branches
2 parents dcfa156 + fbee934 commit de53f3c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: docker
22

33
on:
44
push:
5-
branches:
6-
- main
75
paths:
86
- .github/workflows/docker.yml
97
- build
@@ -30,12 +28,11 @@ jobs:
3028
username: ${{ github.repository_owner }}
3129
password: ${{ secrets.GITHUB_TOKEN }}
3230

33-
- run: |
31+
- name: Build and push image
32+
run: |
3433
image_tag="ghcr.io/${{ github.repository }}:${{ github.run_id }}"
35-
image_latest="ghcr.io/${{ github.repository }}:latest"
3634
./build \
3735
--tag "$image_tag" \
38-
--tag "$image_latest" \
3936
--push
4037
4138
cat >"$GITHUB_STEP_SUMMARY" <<~~

0 commit comments

Comments
 (0)