From b36afada44995a15541d9af1eb570151ed096322 Mon Sep 17 00:00:00 2001 From: jhot Date: Tue, 19 Sep 2023 11:09:01 -0600 Subject: [PATCH 1/3] Actions dependencies --- .forgejo/workflows/build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index bc14754..33e0ac2 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -14,6 +14,10 @@ jobs: steps: - name: Checkout uses: https://code.forgejo.org/actions/checkout@v3 + - name: Dependenies + run: | + curl -fsSL https://get.docker.com -o get-docker.sh + sudo sh ./get-docker.sh - name: Set up Docker Buildx uses: https://github.com/docker/setup-buildx-action@v2.10.0 with: @@ -29,7 +33,7 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} - name: Login to DockerHub - if: github.event_name != 'pull_request' + # if: github.event_name != 'pull_request' uses: https://github.com/docker/login-action@v2.2.0 with: registry: code.jhot.me -- 2.40.1 From 42c42c0c7dd1632582684e5289c3a1d9582fea80 Mon Sep 17 00:00:00 2001 From: jhot Date: Tue, 19 Sep 2023 11:09:42 -0600 Subject: [PATCH 2/3] No sudo --- .forgejo/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 33e0ac2..4b91c87 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -17,7 +17,7 @@ jobs: - name: Dependenies run: | curl -fsSL https://get.docker.com -o get-docker.sh - sudo sh ./get-docker.sh + sh ./get-docker.sh - name: Set up Docker Buildx uses: https://github.com/docker/setup-buildx-action@v2.10.0 with: -- 2.40.1 From 7b1825cd298f48b9c65a778ea786791d1b87b3a0 Mon Sep 17 00:00:00 2001 From: jhot Date: Tue, 19 Sep 2023 11:12:05 -0600 Subject: [PATCH 3/3] Add back condition --- .forgejo/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 4b91c87..69be932 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -33,7 +33,7 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} - name: Login to DockerHub - # if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' uses: https://github.com/docker/login-action@v2.2.0 with: registry: code.jhot.me -- 2.40.1