This commit is contained in:
parent
74055bb602
commit
4016fb5a8d
@ -20,7 +20,7 @@ jobs:
|
|||||||
id: tag_vars
|
id: tag_vars
|
||||||
run: echo "IMAGE_NAME=$(echo \"$GITHUB_SERVER_URL\"/\"$GITHUB_REPOSITORY\" | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT
|
run: echo "IMAGE_NAME=$(echo \"$GITHUB_SERVER_URL\"/\"$GITHUB_REPOSITORY\" | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT
|
||||||
- name: Print tag
|
- name: Print tag
|
||||||
run: echo ${{ steps.tag_vars.outputs.IMAGE_NAME }}:latest
|
run: echo ${{ steps.tag_vars.outputs.IMAGE_NAME }}
|
||||||
- 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