diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 33a0a69..8da5898 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,6 +24,21 @@ jobs: echo "Tag v${{ inputs.tag }} already exists" exit 1 fi + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and Push cilium-agent-proxy + uses: docker/build-push-action@v6 + with: + context: . + file: ./Dockerfile + push: true + tags: ghcr.io/cybozu-go/cilium-agent-proxy:${{ inputs.tag }} - uses: actions/setup-go@v4 with: go-version-file: go.mod