From 88d7b082c3415d016a863c8f28f3c6675d420183 Mon Sep 17 00:00:00 2001 From: Oliver Lippert Date: Fri, 9 Feb 2024 18:57:38 +0100 Subject: [PATCH 1/3] uses docker --- .gitea/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 312dc2f..2218788 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -5,7 +5,7 @@ on: jobs: docker: - runs-on: ubuntu-latest + runs-on: docker container: image: catthehacker/ubuntu:act-latest steps: From 58430ac80f70ba92a9043138f2d51bcca228aed5 Mon Sep 17 00:00:00 2001 From: Oliver Lippert Date: Fri, 9 Feb 2024 18:57:57 +0100 Subject: [PATCH 2/3] add hostname to "uses" --- .gitea/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2218788..73580aa 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -10,17 +10,17 @@ jobs: image: catthehacker/ubuntu:act-latest steps: - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1 + uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1 - name: Login - uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # 3.0.0 + uses: https://github.com/docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # 3.0.0 with: registry: git.keine.cloud username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push - uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # 5.1.0 + uses: https://github.com/docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # 5.1.0 with: push: true tags: git.keine.cloud/${{ env.GITHUB_REPOSITORY }}:latest From 18ccdf30a90eef46180150689ef23c07e88e1998 Mon Sep 17 00:00:00 2001 From: Oliver Lippert Date: Fri, 9 Feb 2024 18:58:10 +0100 Subject: [PATCH 3/3] rename to Forgejo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 047711f..8ba877f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# Gitea action test: Docker +# Forgejo action test: Docker -Is it possible to have docker container build and hosted in Gitea? +Is it possible to have docker container build and hosted in Forgejo?