Skip to content

Commit b024691

Browse files
committed
ci(pr): use oras push rather than oras cp since it does not accept files
1 parent 8ed0e6c commit b024691

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pr.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ jobs:
113113
- name: Push OCI image
114114
run: |
115115
docker buildx bake --no-cache --set _common.output+=type=oci,dest=./debian-oci.tar debian
116-
oras cp --from-oci-layout ./debian-oci.tar ghcr.io/metal-stack/debian-oci:${SEMVER_MAJOR_MINOR}${SEMVER_PATCH}
116+
# TODO: login to ghcr using oras
117+
oras push ghcr.io/metal-stack/debian-oci:${SEMVER_MAJOR_MINOR}${SEMVER_PATCH} ./debian-oci.tar
118+
# oras cp --from-oci-layout ./debian-oci.tar ghcr.io/metal-stack/debian-oci:${SEMVER_MAJOR_MINOR}${SEMVER_PATCH}
117119
env:
118120
CIS_VERSION: v4.1-4
119121
IMG_PKG_COMMAND: dpkg -l

0 commit comments

Comments
 (0)