name: Docker Image Creation run-name: ${{ gitea.actor }} building Docker image on: [push] jobs: build-docker: runs-on: ubuntu-22.04 steps: - name: Checkout the repo uses: actions/checkout@v4 - name: Login to Gitea Docker Registry uses: docker/login-action@v3 with: registry: git.bluequartz.xyz username: ${{ gitea.actor }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Extract metadata for Docker id: meta uses: docker/metadata-action@v5 with: images: git.bluequartz.xyz/kellen/bin - name: Build and Push uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}