maint: updating workflows.

This commit is contained in:
Alf
2022-07-26 20:46:53 -07:00
parent 233a4b4713
commit ac28fbd2d4
2 changed files with 5 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@master
- name: Build the Docker image
run: |
docker login ghcr.io --username $GITHUB_ACTOR --password ${{ secrets.CR_TOKEN }}
docker login ghcr.io --username $GITHUB_ACTOR --password ${{ secrets.GITHUB_TOKEN }}
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

View File

@@ -11,18 +11,19 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.16
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env: