Skip to content

Commit

Permalink
chore(ci): try ghcr instead of docker.pkg
Browse files Browse the repository at this point in the history
Use the (beta) github container registry.
  • Loading branch information
steabert committed Apr 10, 2021
1 parent c4c5141 commit 6a4cfcb
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Build container image
uses: docker/build-push-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: ${{ github.repository }}/gst-rtsp-launch
tag_with_sha: true
tag_with_ref: true
path: gst-rtsp-launch

- name: Build and push
uses: docker/build-push-action@v2
with:
context: gst-rtsp-launch
tags: ${{ github.repository }}/gst-rtsp-launch:${{ github.ref }}
push: true

0 comments on commit 6a4cfcb

Please sign in to comment.