From abb7dd0e0e99e7038bc9d9560caa2763a9f8cf35 Mon Sep 17 00:00:00 2001 From: yx_xuliang Date: Tue, 20 Aug 2024 11:39:13 +0800 Subject: [PATCH] 11 --- .github/workflows/docker-publish.yml | 6 ++++-- alpine-glibc/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 2ba0aac..a95eb3d 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -31,7 +31,7 @@ jobs: - name: List all changed files env: ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} - REPOSITOY: ${{secrets.REPOSITOY}} + USERNAME: ${{secrets.USERNAME}} PASSWORD: ${{secrets.PASSWORD}} run: | @@ -41,10 +41,12 @@ jobs: cd ${CHANGEFOLDER} VERSION=$(grep -w VERSION Dockerfile |awk -F":" '{print $2}') echo ${VERSION} - IMAGENAME=$(echo ${REPOSITORY}/${CHANGEFOLDER}:${VERSION}) + IMAGENAME=$(echo pilgrima/${CHANGEFOLDER}:${VERSION}) echo ${IMAGENAME} docker buildx build -t ${IMAGENAME} . docker push ${IMAGENAME} + docker tag $(echo pilgrima/${CHANGEFOLDER}:latest) ${IMAGENAME} + docker push $(echo pilgrima/${CHANGEFOLDER}:latest) done diff --git a/alpine-glibc/Dockerfile b/alpine-glibc/Dockerfile index 12abc82..34a0cb0 100644 --- a/alpine-glibc/Dockerfile +++ b/alpine-glibc/Dockerfile @@ -1,5 +1,5 @@ FROM alpine:3.19.1 -# VERSION:2.35-r1 +# VERSION:glibc-2.35-r1 LABEL author="pilgrima" version="alpine:3.19.1 glibc:2.35-r1" ENV GLIBC_VERSION 2.35-r1 # Download and install glibc