From 3cb5ff8c79259081206771b419f9905894bed43f Mon Sep 17 00:00:00 2001 From: Giacomo Castellani Date: Tue, 20 Sep 2022 22:47:25 +0200 Subject: [PATCH] correct images names and labels --- .github/workflows/release.yml | 4 ++-- bundle.dockerfile | 2 ++ standalone.dockerfile | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3260695..ada56ed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: - uses: mr-smithers-excellent/docker-build-push@v5 name: Build & push Docker standalone image with: - image: quest + image: qest tags: standalone-latest, standalone-${{ github.ref_name }} registry: ghcr.io dockerfile: standalone.dockerfile @@ -59,7 +59,7 @@ jobs: - uses: mr-smithers-excellent/docker-build-push@v5 name: Build & push Docker bundle image with: - image: quest + image: qest tags: bundle-latest, bundle-${{ github.ref_name }} registry: ghcr.io dockerfile: bundle.dockerfile diff --git a/bundle.dockerfile b/bundle.dockerfile index cd07f7c..4386416 100644 --- a/bundle.dockerfile +++ b/bundle.dockerfile @@ -1,5 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0 as build +LABEL org.opencontainers.image.source=https://github.com/geims83/qest + COPY ./src ./src RUN dotnet publish /src/qest/ -o /output --runtime linux-x64 -c Release --self-contained true /p:PublishSingleFile=true /p:PublishTrimmed=true diff --git a/standalone.dockerfile b/standalone.dockerfile index 099488b..ea44283 100644 --- a/standalone.dockerfile +++ b/standalone.dockerfile @@ -1,5 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine as build +LABEL org.opencontainers.image.source=https://github.com/geims83/qest + COPY ./src ./src RUN dotnet restore /src -r linux-musl-x64