From e5362bbc75addfbb9e8fdbc19c69e66c2320bd2b Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 7 Apr 2024 09:04:40 +1000 Subject: [PATCH] Added gitea CI/CD configuration --- .gitea/workflows/build_docker.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index 7cb93f9..23cf0ab 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -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 }}"