This commit is contained in:
parent
33def3e634
commit
0db348f0d2
@ -15,8 +15,8 @@ jobs:
|
||||
- name: Make tag
|
||||
id: tag_vars
|
||||
run: echo "IMAGE_NAME=$(echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT
|
||||
- name: Print tag
|
||||
run: echo ${{ steps.tag_vars.outputs.IMAGE_NAME }}
|
||||
- name: Docker login
|
||||
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ GITHUB_SERVER_URL }} -u ${{ GITHUB_REPOSITORY_OWNER }}
|
||||
- name: Docker pull
|
||||
run: docker pull ubuntu:latest
|
||||
- name: Var envs
|
||||
|
Loading…
Reference in New Issue
Block a user