From f117d199b5ac0d44dd739a8eee688a3c138997f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Silva=20Gonz=C3=A1lez?= <64492375+JaSiLez@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:05:59 +0200 Subject: [PATCH] Fix & Refactor --- .github/workflows/cd.yml | 8 ++++++-- Dockerfile | 3 +-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a05c2a4..28eeccf 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: env: - IMAGE_NAME: container-network-tools + IMAGE_NAME: net-tools jobs: publish: @@ -52,6 +52,8 @@ jobs: tags: | type=raw,value=latest labels: | + org.opencontainers.image.maintainer="stemdo-labs " + org.opencontainers.image.description="A Docker image with various network tools pre-installed." org.opencontainers.image.licenses=MIT - name: Set up QEMU @@ -64,10 +66,12 @@ jobs: uses: docker/build-push-action@v5 with: context: . - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 + #,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + provenance: false prune: needs: publish diff --git a/Dockerfile b/Dockerfile index 5de24ad..33696d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,7 @@ ARG ALPINE_TAG=latest FROM alpine:${ALPINE_TAG} LABEL maintainer="stemdo-labs " \ - description="A Docker image with various network tools pre-installed." -LABEL org.opencontainers.image.description "A Docker image with various network tools pre-installed." + description="A Docker image with various network tools pre-installed." RUN apk -U upgrade \ && apk add --no-cache \