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
with:
registry: ${{ steps.registry.outputs.registry }}
username: deon
username: ${{ gitea.actor }}
password: ${{ secrets.PKG_WRITE_TOKEN }}
#- name: Build and push Docker image
# uses: docker/build-push-action@v5
- name: Build and push Docker image
uses: docker/build-push-action@v5
# env:
# GIT_AUTH_TOKEN: ${{ secrets.PKG_WRITE_TOKEN }}
# with:
# context: .
# file: ./Dockerfile
# push: true
# tags: "${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}"
with:
context: .
file: ./Dockerfile
push: true
tags: "${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}"