Skip to content

Commit 2effe6c

Browse files
author
Ben Du
authored
Fix docker push command in deploy action (#5)
1 parent 3900f12 commit 2effe6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
run: 'docker tag controller:latest $GITHUB_REPOSITORY:$GITHUB_SHA'
3636

3737
- name: Push image for github container repository with commit SHA
38-
run: 'docker push controller:latest $GITHUB_REPOSITORY:$GITHUB_SHA'
38+
run: 'docker push $GITHUB_REPOSITORY:$GITHUB_SHA'
3939

4040
- name: Tag image for github container repository with latest
4141
run: 'docker tag controller:latest $GITHUB_REPOSITORY:latest'
4242

4343
- name: Push image for github container repository with latest
44-
run: 'docker push controller:latest $GITHUB_REPOSITORY:latest'
44+
run: 'docker push $GITHUB_REPOSITORY:latest'

0 commit comments

Comments
 (0)