This commit is contained in:
parent
a7e1ca7575
commit
aedfadccd6
@ -12,15 +12,15 @@ jobs:
|
||||
runs-on: [arm64]
|
||||
|
||||
steps:
|
||||
- name: Docker pull
|
||||
run: docker pull ubuntu:latest
|
||||
- name: Var envs
|
||||
run: export
|
||||
- name: Make tag
|
||||
id: tag_vars
|
||||
run: echo "IMAGE_NAME=$(echo \"$GITHUB_SERVER_URL\"/\"$GITHUB_REPOSITORY\" | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
|
||||
- name: Print tag
|
||||
run: echo ${{ steps.tag_vars.outputs }}
|
||||
run: echo ${{ steps.tag_vars.outputs.IMAGE_NAME }}
|
||||
- name: Docker pull
|
||||
run: docker pull ubuntu:latest
|
||||
- name: Var envs
|
||||
run: export
|
||||
- name: Docker retag
|
||||
run: docker tag ubuntu:latest ${{ steps.tag_vars.outputs.IMAGE_NAME }}:latest
|
||||
- name: Docker push
|
||||
|
Loading…
Reference in New Issue
Block a user