Skip to content

Commit 836f948

Browse files
chore:use simpe docker cmd to push
1 parent 9690e66 commit 836f948

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build and Publish Image
22
on:
33
push:
44
branches:
5-
- dev
5+
- dev2
66
env:
77
CONTEXT_PATH: .
88
DOCKER_PATH: ./Dockerfile
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232

3333
images: |
34-
"${{env.DOCKER_REGISTRY}}/${{secrets.DOCKER_USERNAME}}/${{ env.DOCKER_REPO }}"
34+
"${{env.DOCKER_REGISTRY}}/${{secrets.DOCKER_USERNAME}}/${{ env.DOCKER_REPO }}/${{ env.IMAGE_NAME }}"
3535
tags: |
3636
type=raw,value={{branch}}-sha-{{sha}}
3737

0 commit comments

Comments
 (0)