From a300880c09c100a26a0ada91102764b011da8cfc Mon Sep 17 00:00:00 2001 From: "Greedy.Death" Date: Tue, 18 Mar 2025 09:30:39 +0000 Subject: [PATCH] Update .gitea/workflows/docker-build-and-push.yaml --- .gitea/workflows/docker-build-and-push.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/docker-build-and-push.yaml b/.gitea/workflows/docker-build-and-push.yaml index c7f2253..49ba0f2 100644 --- a/.gitea/workflows/docker-build-and-push.yaml +++ b/.gitea/workflows/docker-build-and-push.yaml @@ -27,12 +27,6 @@ jobs: image: catthehacker/ubuntu:act-22.04 steps: - - - name: Checkout code - uses: actions/checkout@v3 - with: - submodules: recursive - fetch-depth: 0 - name: Import Secrets uses: hashicorp/vault-action@v2 @@ -42,6 +36,14 @@ jobs: secrets: | cicd/data/docker password | REGISTRY_PASSWORD ; cicd/data/docker username | REGISTRY_USERNAME ; + cicd/data/submodule token | GIT_TOKEN ; + + - name: Checkout code + uses: actions/checkout@v4 + with: + submodules: recursive + fetch-depth: 0 + token: ${{ env.GIT_TOKEN }} - name: Set up Docker BuildX uses: docker/setup-buildx-action@v2