From cd40f5777c08edeef8823512de05747ff7454e97 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Mon, 3 Jun 2024 18:19:26 +0100 Subject: [PATCH] log into CR before pushing --- .gitea/workflows/docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 42263ab..5e3b609 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -11,15 +11,15 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 - - name: Build Docker image - run: | - docker build -t git.i-am.nexus/nex/link-elongater:latest -t git.i-am.nexus/nex/link-elongater:${branch#refs/heads/} . - name: Log into forgejo CR uses: docker/login-action@v3 with: registry: git.i-am.nexus username: nex password: ${{ secrets.GITHUB_TOKEN }} + - name: Build Docker image + run: | + docker build -t git.i-am.nexus/nex/link-elongater:latest -t git.i-am.nexus/nex/link-elongater:${branch#refs/heads/} . - name: Push to forgejo CR run: | docker push -a git.i-am.nexus/nex/link-elongater