From b1f5cd45c4446368bb4cd8533e444c30bb5ed6a9 Mon Sep 17 00:00:00 2001 From: Avner Tzur Date: Sun, 17 Oct 2021 16:13:54 +0300 Subject: [PATCH] use repo as secret --- .github/workflows/build_dev.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_dev.yaml b/.github/workflows/build_dev.yaml index 0191a002..3a66dfe1 100644 --- a/.github/workflows/build_dev.yaml +++ b/.github/workflows/build_dev.yaml @@ -49,7 +49,9 @@ jobs: - uses: actions/checkout@v2 - name: Set name - run: echo quay.io/armosec/kubescape:dev-v1.0.${{ github.run_number }} > build_tag.txt + env: + QUAY_REPO: ${{ secrets.QUAYIO_REPO }} + run: echo quay.io/${QUAY_REPO}/kubescape:dev-v1.0.${{ github.run_number }} > build_tag.txt - name: Build the Docker image run: docker build . --file build/Dockerfile --tag $(cat build_tag.txt)