diff --git a/.forgejo/workflows/image.yaml b/.forgejo/workflows/image.yaml index 32100d2..98319dc 100644 --- a/.forgejo/workflows/image.yaml +++ b/.forgejo/workflows/image.yaml @@ -15,6 +15,13 @@ jobs: - name: Check out the repo uses: actions/checkout@v4 + - name: Login to registery + uses: docker/login-action@v3 + with: + registry: git.oooo.nz + username: ${{ github.actor }} + password: ${{ secrets.PUSH_TOKEN }} + - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v5.7.0 @@ -37,7 +44,9 @@ jobs: uses: docker/build-push-action@v6.16.0 with: context: . - file: ./Dockerfile - push: false + push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} + platforms: linux/amd64,linux/arm64 + secrets: | + GIT_AUTH_TOKEN=${{ secrets.PUSH_TOKEN }} \ No newline at end of file