This commit is contained in:
parent
bf6bb55243
commit
3f6fa8308d
@ -16,7 +16,10 @@ jobs:
|
|||||||
run: docker pull ubuntu:latest
|
run: docker pull ubuntu:latest
|
||||||
- name: Var envs
|
- name: Var envs
|
||||||
run: export
|
run: export
|
||||||
|
- name: Make tag
|
||||||
|
id: tag_vars
|
||||||
|
run: echo "IMAGE_NAME=\"$(echo \"$GITHUB_REPOSITORY\" | tr '[:upper:]' '[:lower:])'\"" >> $GITHUB_OUTPUT
|
||||||
- name: Docker retag
|
- name: Docker retag
|
||||||
run: docker tag ubuntu:latest $(echo "$GITHUB_REPOSITORY" | tr '[:upper:]' '[:lower:]'):latest
|
run: docker tag ubuntu:latest ${{ steps.tag_vars.outputs.IMAGE_NAME }}:latest
|
||||||
- name: Docker push
|
- name: Docker push
|
||||||
run: docker push $GITHUB_ACTION_REPOSITORY:latest
|
run: docker push $GITHUB_ACTION_REPOSITORY:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user