mirror of
https://github.com/casjaysdevdocker/python
synced 2025-12-01 04:14:09 -05:00
🗃️ Updated Dockerfile* and .env.scripts* 🗃️
Some checks failed
python-3.10 / release-python-3_10 (push) Has been cancelled
python-3.11 / release-python-3_11 (push) Has been cancelled
python-3.12 / release-python-3_12 (push) Has been cancelled
python-3.13 / release-python-3_13 (push) Has been cancelled
python-3.9 / release-python-3_9 (push) Has been cancelled
release-tag / release-image (push) Has been cancelled
python-3 / release-python-3 (push) Has been cancelled
Some checks failed
python-3.10 / release-python-3_10 (push) Has been cancelled
python-3.11 / release-python-3_11 (push) Has been cancelled
python-3.12 / release-python-3_12 (push) Has been cancelled
python-3.13 / release-python-3_13 (push) Has been cancelled
python-3.9 / release-python-3_9 (push) Has been cancelled
release-tag / release-image (push) Has been cancelled
python-3 / release-python-3 (push) Has been cancelled
Dockerfile Dockerfile.2 Dockerfile.3 Dockerfile.3.10 Dockerfile.3.11 Dockerfile.3.12 Dockerfile.3.13 Dockerfile.3.9 .gitea/workflows/docker-3_10.yaml .gitea/workflows/docker-3_11.yaml .gitea/workflows/docker-3_12.yaml .gitea/workflows/docker-3_13.yaml .gitea/workflows/docker-3_9.yaml .gitea/workflows/docker.3.yaml .gitea/workflows/docker.yaml rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
name: release-tag
|
||||
name: python-3
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
release-image:
|
||||
release-python-3:
|
||||
runs-on: act_runner
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
@@ -18,16 +18,11 @@ jobs:
|
||||
|
||||
- name: Get Meta
|
||||
id: meta
|
||||
env:
|
||||
TAG: 3
|
||||
ORG: casjaysdevdocker
|
||||
HUB: docker.io
|
||||
run: |
|
||||
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT
|
||||
echo DOCKER_TAG=3.13 >> $GITHUB_OUTPUT
|
||||
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
||||
echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "3") >> $GITHUB_OUTPUT
|
||||
echo DOCKER_HUB=$([ -n "$HUB" ] && echo $HUB || echo "docker.io") >> $GITHUB_OUTPUT
|
||||
echo DOCKER_ORG=$([ -n "$ORG" ] && echo "$ORG" || echo "casjaysdevdocker") >> $GITHUB_OUTPUT
|
||||
echo DOCKER_ORG=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $1}') >> $GITHUB_OUTPUT
|
||||
echo DOCKER_HUB=$([ -n "$DOCKER_HUB" ] && echo ${DOCKER_HUB} || echo "docker.io") >> $GITHUB_OUTPUT
|
||||
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | sed 's|^docker-||g') >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
@@ -44,10 +39,10 @@ jobs:
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile.3
|
||||
file: ./Dockerfile.3.13
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
tags: |
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }}
|
||||
|
||||
Reference in New Issue
Block a user