Skip to content

Commit

Permalink
Fix & Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
JaSiLez authored Apr 24, 2024
1 parent e527242 commit f117d19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
IMAGE_NAME: container-network-tools
IMAGE_NAME: net-tools

jobs:
publish:
Expand Down Expand Up @@ -52,6 +52,8 @@ jobs:
tags: |
type=raw,value=latest
labels: |
org.opencontainers.image.maintainer="stemdo-labs <https://stemdo.io>"
org.opencontainers.image.description="A Docker image with various network tools pre-installed."
org.opencontainers.image.licenses=MIT
- name: Set up QEMU
Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ ARG ALPINE_TAG=latest
FROM alpine:${ALPINE_TAG}

LABEL maintainer="stemdo-labs <https://stemdo.io>" \
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 \
Expand Down

0 comments on commit f117d19

Please sign in to comment.