--- name: Container Publish on: push: tags: - '*' schedule: - cron: "0 12 3 * *" workflow_dispatch: jobs: build-image: runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest steps: - uses: actions/checkout@v4 - name: Login to registry uses: docker/login-action@v3 with: registry: docker.asperti.com username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and publish run: | docker build -t docker.asperti.com/paspo/borgstore:latest --platform linux/amd64 -f Dockerfile . docker push docker.asperti.com/paspo/borgstore:latest