name: Build and Publish qweribot-pocketbase docker image on: push: branches: - 'main' jobs: docker: runs-on: ubuntu-latest steps: - name: Login to container Registry uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Get repository uses: actions/checkout@v4 - name: Docker Build and push uses: docker/build-push-action@v6 with: file: Dockerfile.pocketbase context: . push: true tags: ghcr.io/qwerinope/qweribot-pocketbase:latest secrets: "github_token=${{ secrets.GITHUB_TOKEN }}"