Update .gitea/workflows/docker-build-and-push.yaml
This commit is contained in:
parent
af59783877
commit
0f0e562127
@ -27,12 +27,6 @@ jobs:
|
|||||||
image: catthehacker/ubuntu:act-22.04
|
image: catthehacker/ubuntu:act-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Import Secrets
|
- name: Import Secrets
|
||||||
uses: hashicorp/vault-action@v2
|
uses: hashicorp/vault-action@v2
|
||||||
@ -42,6 +36,14 @@ jobs:
|
|||||||
secrets: |
|
secrets: |
|
||||||
cicd/data/docker password | REGISTRY_PASSWORD ;
|
cicd/data/docker password | REGISTRY_PASSWORD ;
|
||||||
cicd/data/docker username | REGISTRY_USERNAME ;
|
cicd/data/docker username | REGISTRY_USERNAME ;
|
||||||
|
cicd/data/submodule token | SUBMODULE_TOKEN ;
|
||||||
|
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
fetch-depth: 0
|
||||||
|
token: ${{ env.SUBMODULE_TOKEN }}
|
||||||
|
|
||||||
- name: Set up Docker BuildX
|
- name: Set up Docker BuildX
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
|
@ -22,8 +22,20 @@ jobs:
|
|||||||
image: catthehacker/ubuntu:act-22.04
|
image: catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Import Common Secrets
|
||||||
uses: actions/checkout@v3
|
uses: hashicorp/vault-action@v2
|
||||||
|
with:
|
||||||
|
url: https://vault.project-quest-dev.com
|
||||||
|
token: ${{ secrets.VAULT_TOKEN }}
|
||||||
|
secrets: |
|
||||||
|
cicd/data/submodule token | SUBMODULE_TOKEN ;
|
||||||
|
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
fetch-depth: 0
|
||||||
|
token: ${{ env.SUBMODULE_TOKEN }}
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user