name: Create Docker Image run-name: ${{ gitea.actor }} Building Docker Image 🚀 on: [push] jobs: build: name: Build Docker Image runs-on: docker-x86 container: docker:dind steps: - name: Environment run: | echo "++ Environment" && env echo "++ PWD" && pwd echo "++ ls" && ls -al - name: Checkout Code uses: actions/checkout@v4 - name: Environment part 2 run: | echo "++ Environment" && env echo "++ PWD" && pwd echo "++ ls" && ls -al # name: Set up Docker Buildx # uses: https://github.com/docker/setup-buildx-action@v3 # with: # config-inline: | # [registry.":5000"] # http = true # insecure = true - name: Build and push Docker image uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile push: true tags: "${{gitea.server}}/${{gitea.domain}}:latest"