From a1ca2ee3ea20947fe7dd0dd1fa5e51f214fdd25e Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Tue, 19 Mar 2024 18:42:11 +0300 Subject: [PATCH] Try adding secrets to the workflow script. --- .gitea/workflows/build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index b0d339a..7cb5d44 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -12,7 +12,11 @@ jobs: run: apt update -y - name: Gather dependencies. run: apt install -y docker.io + - name: Log into Docker registry. + run: "echo ${{secrets.QUIK_API_KEY}} > docker login -u themixedupstuff --password-stdin git.mixedup.dev" - name: Check repository out. uses: actions/checkout@v3 - name: Build Docker Image - run: docker build -t quik/docker-cross-compiler \ No newline at end of file + run: docker build -t git.mixedup.dev/QUIK/docker-cross-compiler + - name: Upload Docker Image + name: docker push git.mixedup.dev/QUIK/docker-cross-compiler \ No newline at end of file