This commit is contained in:
parent
e5537796c9
commit
6e30f09ccc
@ -18,7 +18,9 @@ jobs:
|
|||||||
run: export
|
run: export
|
||||||
- name: Make tag
|
- name: Make tag
|
||||||
id: tag_vars
|
id: tag_vars
|
||||||
run: echo "IMAGE_NAME=$(echo \"$GITHUB_REPOSITORY\" | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
|
run: echo "IMAGE_NAME=$(echo \"$GITHUB_SERVER_URL\"/\"$GITHUB_REPOSITORY\" | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
|
||||||
|
- name: Print tag
|
||||||
|
run: echo ${{ steps.tag_vars.ouotputs.IMAGE_NAME }}:latest
|
||||||
- name: Docker retag
|
- name: Docker retag
|
||||||
run: docker tag ubuntu:latest ${{ steps.tag_vars.outputs.IMAGE_NAME }}:latest
|
run: docker tag ubuntu:latest ${{ steps.tag_vars.outputs.IMAGE_NAME }}:latest
|
||||||
- name: Docker push
|
- name: Docker push
|
||||||
|
Loading…
Reference in New Issue
Block a user