From 75ffb786277f37967a255baa6efd0c641ca4bdfb Mon Sep 17 00:00:00 2001 From: sqozz Date: Tue, 16 Apr 2024 23:51:09 +0200 Subject: [PATCH] Update .forgejo/workflows/build.yaml --- .forgejo/workflows/build.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 367e63c..f26b95c 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -6,9 +6,8 @@ jobs: build: runs-on: docker steps: - - run: echo {{ secrets.username }} - - run: echo {{ secrets.password }} - - run: apk add buildah wget tee + - run: apk add buildah wget + - run: buildah login --username {{ secrets.username }} --password {{ secrets.password }} - run: wget https://git.geekify.de/Containers/alpine-bash/raw/branch/main/Dockerfile - run: buildah build --isolation=chroot | tee container_id - run: export CONTAINER_ID=$(tail -n 1 container_id)