Skip to content

Commit

Permalink
Revert "Ci/Cd: Added Docker Buildx Caching (#221)" (#226)
Browse files Browse the repository at this point in the history
This reverts commit 0f0e50e.

Signed-off-by: Milosz Linkiewicz <milosz.linkiewicz@intel.com>
  • Loading branch information
Mionsz authored Oct 8, 2024
1 parent c988152 commit d2410b8
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions .github/workflows/ubuntu-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,47 +28,28 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
with:
buildkitd-flags: --debug --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
cache-binary: true
driver-opts: |
image=moby/buildkit:master
network=host
install: true
platforms: linux/amd64

- name: Login to GitHub Container Registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
buildkitd-flags: --debug

- name: Build and push SDK sample apps
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
with:
file: sdk/Dockerfile
tags: "ghcr.io/openvisualcloud/media-communications-mesh/sdk:${{ github.sha }}"
context: .
push: false
cache-from: type=registry,ref=ghcr.io/openvisualcloud/media-communications-mesh/sdk:buildcache
cache-to: type=registry,ref=ghcr.io/openvisualcloud/media-communications-mesh/sdk:buildcache,mode=max
tags: "mcm/sdk:${{ github.sha }}"

- name: Build and push ffmpeg and plugins
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
with:
file: ffmpeg-plugin/Dockerfile
tags: "ghcr.io/openvisualcloud/media-communications-mesh/ffmpeg:${{ github.sha }}"
context: .
push: false
cache-from: type=registry,ref=ghcr.io/openvisualcloud/media-communications-mesh/ffmpeg:buildcache
cache-to: type=registry,ref=ghcr.io/openvisualcloud/media-communications-mesh/ffmpeg:buildcache,mode=max
tags: "mcm/ffmpeg:${{ github.sha }}"

- name: Build and push media proxy application
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
with:
file: media-proxy/Dockerfile
tags: "ghcr.io/openvisualcloud/media-communications-mesh/media-proxy:${{ github.sha }}"
context: .
push: false
cache-from: type=registry,ref=ghcr.io/openvisualcloud/media-communications-mesh/media-proxy:buildcache
cache-to: type=registry,ref=ghcr.io/openvisualcloud/media-communications-mesh/media-proxy:buildcache,mode=max
tags: "mcm/media-proxy:${{ github.sha }}"

0 comments on commit d2410b8

Please sign in to comment.