From 43581dd5e5f1bc796fbcdd4674d2d00708db4d73 Mon Sep 17 00:00:00 2001 From: JangAyeon <67853616+JangAyeon@users.noreply.github.com> Date: Mon, 15 Apr 2024 01:33:48 +0900 Subject: [PATCH] push docker image to GCP registery --- .github/workflows/build.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ab36dde..25d1e2e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -24,3 +24,11 @@ jobs: registry: ${{ env.REGISTRY }} username: _json_key password: ${{ secrets.GAR_JSON_KEY }} + + - name: Extract metadata (tags, labels) for Docker + id: meta + uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + with: + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=sha