mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
use repo as secret
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user