docker: update docker workflow

This commit is contained in:
Alf
2021-03-15 21:37:06 -07:00
parent c2a1c18c23
commit c413a7f593

View File

@@ -12,8 +12,6 @@ jobs:
- uses: actions/checkout@master
- name: Build the Docker image
run: |
docker build . --file Dockerfile --tag ffmpegd:latest
docker tag ffmpegd alfg/ffmpegd:latest
docker login ghcr.io --username $GITHUB_ACTOR --password ${{ secrets.CR_TOKEN }}
docker tag ffmpegd ghcr.io/alfg/ffmpegd/ffmpegd:${GITHUB_REF/refs\/tags\//}
docker build . --file Dockerfile --tag ghcr.io/alfg/ffmpegd:${GITHUB_REF/refs\/tags\//}
docker push ghcr.io/alfg/ffmpegd:${GITHUB_REF/refs\/tags\//}