Skip to content

Commit

Permalink
fix oci mediatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyanesh Mishra authored and Gyanesh Mishra committed Dec 8, 2023
1 parent 3ca74fb commit 8c95d43
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-soci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:

- name: Set up containerd for ubuntu
uses: crazy-max/[email protected]
with:
config-inline: |
version = 2
# persistent data location
root = "/var/lib/kubelet/containerd"
- name: Docker meta
id: meta
Expand Down Expand Up @@ -91,9 +97,9 @@ jobs:
file: ./Dockerfile # Path to your Dockerfile
push: false
tags: ${{ steps.meta.outputs.tags }}
outputs: type=oci,oci-mediatypes=true,dest=${{ steps.vars.outputs.image_path }}-${{ steps.vars.outputs.tag_hash }}.tar
outputs: type=oci,dest=${{ steps.vars.outputs.image_path }}-${{ steps.vars.outputs.tag_hash }}.tar
cache-from: type=local,src=${{ steps.vars.outputs.cache_dir }}
cache-to: type=local,mode=max,image-manifest=true,dest=${{ steps.vars.outputs.cache_dir }}
cache-to: type=local,mode=max,image-manifest=true,oci-mediatypes=true,dest=${{ steps.vars.outputs.cache_dir }}

- name: Import image in containerd
env:
Expand Down

0 comments on commit 8c95d43

Please sign in to comment.