ci: add push

This commit is contained in:
Job 2024-02-09 15:33:42 +01:00
parent b2660c125c
commit 69744cda5f
Signed by: Job79
SSH Key Fingerprint: SHA256:BezbKv3jZaqu7SdNrZM0e42b8nlNwh63zaVj/pUxc7U

@ -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 }}
#