From 20899f327cdd9d3193357e19709c1129510f187b Mon Sep 17 00:00:00 2001 From: Daichi Sakaue Date: Tue, 22 Oct 2024 17:53:27 +0900 Subject: [PATCH] Push cilium-agent-proxy on release Signed-off-by: Daichi Sakaue --- .github/workflows/release.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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