mirror of
https://github.com/alfg/ffmpegd.git
synced 2025-12-24 13:17:53 +08:00
fix: fix docker workflow to build latest tag
This commit is contained in:
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@@ -13,6 +13,6 @@ jobs:
|
||||
- name: Build the Docker image
|
||||
run: |
|
||||
docker login ghcr.io --username $GITHUB_ACTOR --password ${{ secrets.CR_TOKEN }}
|
||||
docker build . --file Dockerfile --tag ghcr.io/alfg/ffmpegd:${GITHUB_REF/refs\/tags\//}
|
||||
docker push ghcr.io/alfg/ffmpegd:latest
|
||||
docker push ghcr.io/alfg/ffmpegd:${GITHUB_REF/refs\/tags\//}
|
||||
docker build . --file Dockerfile --tag ghcr.io/alfg/ffmpegd:${GITHUB_REF/refs\/tags\//} --tag ghcr.io/alfg/ffmpegd:latest
|
||||
docker push ghcr.io/alfg/ffmpegd:${GITHUB_REF/refs\/tags\//}
|
||||
docker push ghcr.io/alfg/ffmpegd:latest
|
||||
Reference in New Issue
Block a user