Change gitea auth
This commit is contained in:
@@ -13,6 +13,12 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
|
- name: Login to Github Packages
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
registry: git.gg
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITEA_TOKEN }}
|
||||||
- name: List files in the repository
|
- name: List files in the repository
|
||||||
run: |
|
run: |
|
||||||
ls ${{ gitea.workspace }}
|
ls ${{ gitea.workspace }}
|
||||||
@@ -29,7 +35,7 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: registry.hooli.co/us-api:${{steps.set-tag.outputs.TAG_SLUG}}
|
tags: git.gg/chip/us-api:${{steps.set-tag.outputs.TAG_SLUG}}
|
||||||
- name: Image digest
|
- name: Image digest
|
||||||
run: 'echo TAG: registry.hooli.co/us-api:${{steps.set-tag.outputs.TAG_SLUG}} SHA: ${{ steps.docker_build.outputs.digest }}'
|
run: 'echo TAG: git.gg/chip/us-api:${{steps.set-tag.outputs.TAG_SLUG}} SHA: ${{ steps.docker_build.outputs.digest }}'
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
Reference in New Issue
Block a user