This commit is contained in:
parent
bb6eba90f2
commit
3c02882322
@ -16,7 +16,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: Docker login
|
- name: Docker login
|
||||||
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ GITHUB_SERVER_URL }} -u ${{ GITHUB_REPOSITORY_OWNER }} && docker pull ubuntu:latest && docker tag ubuntu:latest git.halis.io/athens-school/ubuntu:latest && docker push git.halis.io/athens-school/ubuntu:latest
|
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ GITHUB_SERVER_URL }} -u ${{ GITHUB_REPOSITORY_OWNER }}
|
||||||
- name: Docker pull
|
- name: Docker pull
|
||||||
run: docker pull ubuntu:latest
|
run: docker pull ubuntu:latest
|
||||||
- name: Var envs
|
- name: Var envs
|
||||||
|
Loading…
Reference in New Issue
Block a user