name: Build and Publish Docker Image on: push: tags: - v[0-9]+.[0-9]+.[0-9]+ jobs: build-and-push: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Log in to git.cashew.network registry uses: docker/login-action@v3 with: registry: git.cashew.network username: ${{ secrets.GIT_USERNAME }} password: ${{ secrets.GIT_PASSWORD }} - name: Build and push image uses: docker/build-push-action@v5 with: context: . push: true tags: ${{ secrets.GIT_USERNAME }}/ironveil:${{ github.ref_name }}