use repo as secret

This commit is contained in:
Avner Tzur
2021-10-17 16:13:54 +03:00
parent 2c44c0e1f0
commit b1f5cd45c4
+3 -1
View File
@@ -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)