This commit is contained in:
parent
33def3e634
commit
0db348f0d2
@ -15,8 +15,8 @@ jobs:
|
|||||||
- name: Make tag
|
- name: Make tag
|
||||||
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: Docker login
|
||||||
run: echo ${{ steps.tag_vars.outputs.IMAGE_NAME }}
|
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