Skip to content

Commit

Permalink
fix: github actions to build containers
Browse files Browse the repository at this point in the history
  • Loading branch information
ABeltramo committed Jan 20, 2023
1 parent 44666da commit 8df4b0b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,17 @@ jobs:
password: ${{ secrets.GHCR_TOKEN }}

- name: Build Gstreamer
id: docker_build
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
context: docker
file: gstreamer.Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/gstreamer:1.20.3,gameonwhales:1.20.3 # TODO: set gstreamer version as param
cache-from: registry,ref=ghcr.io/${{ github.repository_owner }}/gstreamer:buildcache-1.20.3
cache-to: registry,ref=ghcr.io/${{ github.repository_owner }}/gstreamer:buildcache-1.20.3,mode=max
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/gstreamer:buildcache-1.20.3
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/gstreamer:buildcache-1.20.3,mode=max

- name: Build Wolf
id: docker_build
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
Expand Down

0 comments on commit 8df4b0b

Please sign in to comment.