From 544302de6ea6fa28606cfbcc8f8b9295f2b6e093 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Tue, 25 Feb 2025 05:22:55 -0700 Subject: [PATCH] ci: replace `env.ref_name` with `github.ref_name` --- .github/workflows/deploy-docker-all.yml | 10 +++++----- .github/workflows/deploy-docker-dockerhub.yml | 2 +- .github/workflows/deploy-docker-gitea.yml | 6 +++--- .github/workflows/deploy-docker-giteacom.yml | 4 ++-- .github/workflows/deploy-docker-github.yml | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy-docker-all.yml b/.github/workflows/deploy-docker-all.yml index 71d753ae..a4f14c08 100755 --- a/.github/workflows/deploy-docker-all.yml +++ b/.github/workflows/deploy-docker-all.yml @@ -422,7 +422,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_GHCR_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # @@ -740,7 +740,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_DOCKERHUB_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # @@ -1059,7 +1059,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_GITEA_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # @@ -1092,7 +1092,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_GITEA_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # @@ -1128,7 +1128,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_GITEA_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # diff --git a/.github/workflows/deploy-docker-dockerhub.yml b/.github/workflows/deploy-docker-dockerhub.yml index 65d879a4..b1f0896c 100755 --- a/.github/workflows/deploy-docker-dockerhub.yml +++ b/.github/workflows/deploy-docker-dockerhub.yml @@ -353,7 +353,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_DOCKERHUB_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # diff --git a/.github/workflows/deploy-docker-gitea.yml b/.github/workflows/deploy-docker-gitea.yml index c3302af1..0190e1fd 100755 --- a/.github/workflows/deploy-docker-gitea.yml +++ b/.github/workflows/deploy-docker-gitea.yml @@ -366,7 +366,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_GITEA_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # @@ -399,7 +399,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_GITEA_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # @@ -435,7 +435,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_GITEA_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # diff --git a/.github/workflows/deploy-docker-giteacom.yml b/.github/workflows/deploy-docker-giteacom.yml index 51fe588f..25d0e41a 100644 --- a/.github/workflows/deploy-docker-giteacom.yml +++ b/.github/workflows/deploy-docker-giteacom.yml @@ -368,7 +368,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_GITEA_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # @@ -629,7 +629,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_GITEA_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # # diff --git a/.github/workflows/deploy-docker-github.yml b/.github/workflows/deploy-docker-github.yml index 7a8a6577..a13c8fee 100755 --- a/.github/workflows/deploy-docker-github.yml +++ b/.github/workflows/deploy-docker-github.yml @@ -351,7 +351,7 @@ jobs: org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.IMAGE_GHCR_AUTHOR }} - org.opencontainers.image.ref.name=${{ env.ref_name }} + org.opencontainers.image.ref.name=${{ github.ref_name }} org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} # #