From 69744cda5fcab302147465b5b36dcb0fa1ae4f6d Mon Sep 17 00:00:00 2001 From: Job79 <job@plabble.org> Date: Fri, 9 Feb 2024 15:33:42 +0100 Subject: [PATCH] ci: add push --- .gitea/workflows/ci.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 7b8a493..6c1a2a1 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -12,6 +12,12 @@ jobs: uses: docker/setup-buildx-action@v2 with: endpoint: 'unix:///var/run/docker.sock' + - name: Login to Registry + uses: docker/login-action@v3 + with: + registry: git.plabble.org + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push uses: docker/build-push-action@v4 with: @@ -20,8 +26,9 @@ jobs: platforms: | linux/amd64 # linux/arm64 - push: false -# tags: | + push: true + tags: | + git.plabble.org/job79/pastabble:latest # ${{ env.DOCKER_USERNAME }}/${{ steps.meta.outputs.REPO_NAME }}:latest # ${{ env.DOCKER_USERNAME }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} #