From eb414558b813f4d19b095dfeea8ab6b174a128bd Mon Sep 17 00:00:00 2001 From: RikSolo Date: Fri, 12 Dec 2025 02:31:51 +0100 Subject: [PATCH] move back to actions --- .forgejo/workflows/build.yml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index a9fe3f1..277de70 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -24,16 +24,11 @@ jobs: run: | docker login -u riksolo -p ${{secrets.CONTAINER_REGISTRY_TOKEN}} git.riksolo.com - - name: Build and push main - uses: https://github.com/docker/build-push-action@v6 - with: - push: true - tags: git.riksolo.com/riksolo/eleventy-riksolo-com:latest , git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}} - - - name: Build and push RBLicht - uses: https://github.com/docker/build-push-action@v6 - with: - push: true - build-args: - SITE=rblicht - tags: git.riksolo.com/riksolo/eleventy-riksolo-com:latest-rblicht , git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}}-rblicht \ No newline at end of file + - name: Build and push + run: | + docker build -t git.riksolo.com/riksolo/eleventy-riksolo-com:latest,git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}} + docker push git.riksolo.com/riksolo/eleventy-riksolo-com:latest + docker push git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}} + docker build --build-arg SITE=rblicht -t git.riksolo.com/riksolo/eleventy-riksolo-com:latest-rblicht,git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}}-rblicht + docker push git.riksolo.com/riksolo/eleventy-riksolo-com:latest-rblicht + docker push git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}}-rblicht \ No newline at end of file