From 09ffe59aafee4c3de751ecc03ea00fdeb89d2a96 Mon Sep 17 00:00:00 2001 From: niklhut <49069026+niklhut@users.noreply.github.com> Date: Thu, 2 Nov 2023 21:03:16 +0100 Subject: [PATCH 1/2] Add name for job and remove source of old workflow --- .github/workflows/docker-img.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-img.yml b/.github/workflows/docker-img.yml index d50c12f..43d1317 100644 --- a/.github/workflows/docker-img.yml +++ b/.github/workflows/docker-img.yml @@ -1,4 +1,3 @@ -# shamelessly stolen from: https://github.com/CloudGoBrrr/server/blob/main/.github/workflows/main.yml name: Build and publish container on: @@ -15,6 +14,7 @@ env: jobs: ghr_push: + name: Build and publish container runs-on: ubuntu-latest steps: From 9430aa2c3bfd7faef7d57719be38db070608f857 Mon Sep 17 00:00:00 2001 From: niklhut <49069026+niklhut@users.noreply.github.com> Date: Fri, 3 Nov 2023 16:28:07 +0100 Subject: [PATCH 2/2] Add support for latest tag --- .github/workflows/docker-img.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-img.yml b/.github/workflows/docker-img.yml index 43d1317..941cbdb 100644 --- a/.github/workflows/docker-img.yml +++ b/.github/workflows/docker-img.yml @@ -41,6 +41,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ github.repository }} tags: | + latest=true type=ref,event=branch type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}}