ci: add automatic container build #3

Closed
Job79 wants to merge 16 commits from Job79/pastabble:main into main
Showing only changes of commit 69744cda5f - Show all commits

View File

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