From af6bef013d79ba9b49e7541342370edce90bf5b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Rudowicz?= Date: Sun, 23 Feb 2025 20:09:23 +0100 Subject: [PATCH] Push the container image to registry --- .forgejo/workflows/build-jekyll.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build-jekyll.yml b/.forgejo/workflows/build-jekyll.yml index 01c10a8..00c63cd 100644 --- a/.forgejo/workflows/build-jekyll.yml +++ b/.forgejo/workflows/build-jekyll.yml @@ -16,10 +16,12 @@ jobs: path: _site/ build_and_push_container: runs-on: docker + env: + REGISTRY_OWNER: fleg container: image: git.hswro.org/fleg/hswro_org_build:latest steps: - uses: actions/checkout@v3 - uses: actions/download-artifact@v3 - - run: cd .. && find - run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest + - run: buildah push --creds ${REGISTRY_OWNER}:${{ secrets.PUSH_PACHAGES_KEY }} hswro-org:latest "git.hswro.org/${REGISTRY_OWNER}/hswro_org:latest"