This commit is contained in:
parent
b5df451e67
commit
83a9e87794
@ -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 }}"
|
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