Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: docker-library/python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: ah-its-andy/python-ffmpeg
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 6 commits
  • 4 files changed
  • 1 contributor

Commits on Jul 29, 2024

  1. Update Dockerfile

    add ffmpeg
    ah-its-andy authored Jul 29, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3d09704 View commit details
  2. Create main.yml

    ah-its-andy authored Jul 29, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    91474a3 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    bb16074 View commit details
  4. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5ce9e66 View commit details
  5. Update main.yml

    ah-its-andy authored Jul 29, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a974c70 View commit details

Commits on Jul 30, 2024

  1. Update main.yml

    ah-its-andy authored Jul 30, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    ca65292 View commit details
Showing with 52 additions and 95 deletions.
  1. +0 −72 .github/workflows/ci.yml
  2. +50 −0 .github/workflows/main.yml
  3. +0 −22 .github/workflows/verify-templating.yml
  4. +2 −1 3.9/slim-bullseye/Dockerfile
72 changes: 0 additions & 72 deletions .github/workflows/ci.yml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build-Dev

on:
workflow_dispatch: # 使用 workflow_dispatch 事件触发
# pull_request:
# branches: [ "main" ]
# push:
# branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Docker Login
# You may pin to the exact commit or the version.
# uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
uses: docker/login-action@v3.3.0
with:
# Username used to log against the Docker registry
username: ${{ secrets.DOCKERHUB_USER }}
# Password or personal access token used to log against the Docker registry
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: FetchTimestamp
id: timestamp
run: echo "TIMESTAMP=$(date '+%y%m%d')" >> $GITHUB_ENV

- name: FetchGitHash
id: git-hash
run: echo "GIT_HASH=$(git rev-parse HEAD | cut -c1-4)" >> $GITHUB_ENV

- name: SetEnvVar
run: |
echo "IMAGE_VERSION=${{ env.TIMESTAMP }}-${{ env.GIT_HASH }}" >> $GITHUB_ENV
echo "IMAGE_TAG=slim-${{ env.TIMESTAMP }}-${{ env.GIT_HASH }}" >> $GITHUB_ENV
- name: ECHO IMAGE_TAG
run: echo $IMAGE_TAG

- name: BuildDockerImage
run: cd ./3.9/slim-bullseye && docker build -t standardcore/python-ffmpeg:${{ env.IMAGE_TAG }} .

- name: PushDockerImage
run: docker push standardcore/python-ffmpeg:${{ env.IMAGE_TAG }}
22 changes: 0 additions & 22 deletions .github/workflows/verify-templating.yml

This file was deleted.

3 changes: 2 additions & 1 deletion 3.9/slim-bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.