Skip to content

Commit d8cbf0d

Browse files
build: add Dockerfile-python-pg
1 parent e8d5a4a commit d8cbf0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-push-python-pg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ jobs:
3333
- name: Checkout
3434
uses: actions/checkout@v4
3535
with:
36-
ref: main
36+
ref: ${{ github.ref_name }}
3737
- name: Prepare
3838
id: prepare
3939
run: |
4040
DOCKER_IMAGE=ghcr.io/1panel-dev/maxkb-python-pg
4141
DOCKER_PLATFORMS=${{ github.event.inputs.architecture }}
4242
TAG_NAME=python3.11-pg17.4
43-
DOCKER_IMAGE_TAGS="--tag ${DOCKER_IMAGE}:${TAG_NAME} --tag ${DOCKER_IMAGE}:latest"
43+
DOCKER_IMAGE_TAGS="--tag ${DOCKER_IMAGE}:${TAG_NAME}"
4444
echo ::set-output name=docker_image::${DOCKER_IMAGE}
4545
echo ::set-output name=version::${TAG_NAME}
4646
echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} --no-cache \

0 commit comments

Comments
 (0)