name: Production Build run-name: ${{ github.actor }} is running the CI pipeline on: push: branches: - latest jobs: publish: runs-on: ubuntu-latest env: RUNNER_TOOL_CACHE: /${{ github.workspace }} steps: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub uses: docker/login-action@v3 with: registry: git.miwory.dev username: ${{ secrets.CI_USERNAME }} password: ${{ secrets.CI_TOKEN }} - name: Build and push Docker image uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile push: true tags: 'git.miwory.dev/miwory/podkopsubsets:latest' cache-from: type=gha cache-to: type=gha,mode=max