This commit is contained in:
parent
a7ab4d3257
commit
f888045275
@ -17,6 +17,12 @@ jobs:
|
|||||||
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: docker login ${{ GITHUB_SERVER_URL }} -u ${{ GITHUB_REPOSITORY_OWNER }} --password not-a-password
|
run: docker login ${{ GITHUB_SERVER_URL }} -u ${{ GITHUB_REPOSITORY_OWNER }} --password not-a-password
|
||||||
|
- name: Login to register
|
||||||
|
uses: docker/login-actions@v2
|
||||||
|
with:
|
||||||
|
registry: git.halis.io
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- 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