Added gitea CI/CD configuration
All checks were successful
Create Docker Image / Build Docker Image (push) Successful in 2m45s

This commit is contained in:
Deon George 2024-04-07 09:04:40 +10:00
parent 9c22e3cc3b
commit e5362bbc75

View File

@ -73,15 +73,15 @@ jobs:
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: ${{ steps.registry.outputs.registry }} registry: ${{ steps.registry.outputs.registry }}
username: deon username: ${{ gitea.actor }}
password: ${{ secrets.PKG_WRITE_TOKEN }} password: ${{ secrets.PKG_WRITE_TOKEN }}
#- name: Build and push Docker image - name: Build and push Docker image
# uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
# env: # env:
# GIT_AUTH_TOKEN: ${{ secrets.PKG_WRITE_TOKEN }} # GIT_AUTH_TOKEN: ${{ secrets.PKG_WRITE_TOKEN }}
# with: with:
# context: . context: .
# file: ./Dockerfile file: ./Dockerfile
# push: true push: true
# tags: "${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}" tags: "${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}"