From 9a6dcc8083747f6f67654150e80bb11552ad1842 Mon Sep 17 00:00:00 2001 From: Varakh Date: Tue, 19 Nov 2024 12:58:03 +0100 Subject: [PATCH] Remove revision LABEL in OCI image, clean up pipeline --- .forgejo/workflows/build.yaml | 1 - .forgejo/workflows/release.yaml | 1 - .forgejo/workflows/release_rebuild.yaml | 1 - Dockerfile | 1 - 4 files changed, 4 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 015cb32..2762911 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -1,6 +1,5 @@ on: [push] env: - REVISION: ${{ github.sha }} IMAGE_TAG: varakh/hetzner-storagebox-exporter jobs: build: diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index 5bf813d..211fe8f 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -3,7 +3,6 @@ on: branches: - master env: - REVISION: ${{ github.sha }} IMAGE_TAG: varakh/hetzner-storagebox-exporter IMAGE_TAG_PRIVATE: git.myservermanager.com/varakh/hetzner-storagebox-exporter FORGEJO_FQDN: git.myservermanager.com diff --git a/.forgejo/workflows/release_rebuild.yaml b/.forgejo/workflows/release_rebuild.yaml index d921a00..d216917 100644 --- a/.forgejo/workflows/release_rebuild.yaml +++ b/.forgejo/workflows/release_rebuild.yaml @@ -2,7 +2,6 @@ on: schedule: - cron: "0 0 1 * *" env: - REVISION: ${{ github.sha }} IMAGE_TAG: varakh/hetzner-storagebox-exporter IMAGE_TAG_PRIVATE: git.myservermanager.com/varakh/hetzner-storagebox-exporter FORGEJO_FQDN: git.myservermanager.com diff --git a/Dockerfile b/Dockerfile index afacbed..7fb92f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,6 @@ FROM alpine:3 LABEL maintainer="Varakh " \ description="hetzner-storagebox-exporter" \ org.opencontainers.image.authors="Varakh" \ - org.opencontainers.image.revision="${REVISION}" \ org.opencontainers.image.vendor="Varakh" \ org.opencontainers.image.title="hetzner-storagebox-exporter" \ org.opencontainers.image.description="hetzner-storagebox-exporter" \