diff --git a/.gitea/workflows/docker.yaml b/.gitea/workflows/docker.yaml index eb28bb2..8c1dfda 100644 --- a/.gitea/workflows/docker.yaml +++ b/.gitea/workflows/docker.yaml @@ -13,6 +13,12 @@ jobs: uses: actions/checkout@v3 - 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." + - 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 run: | ls ${{ gitea.workspace }} @@ -29,7 +35,7 @@ jobs: context: . file: ./Dockerfile 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 - 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 }}." \ No newline at end of file