Skip to content

Commit

Permalink
Merge pull request #88 from detiber/addImagePublishWorkflow
Browse files Browse the repository at this point in the history
Attempt to fix publish image workflow
  • Loading branch information
detiber authored Sep 17, 2021
2 parents b1ddd91 + cd51b6c commit 83a246d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
uses: actions/checkout@v2.3.4
with:
repository: kubernetes-sigs/image-builder
path: image-builder
- name: Build the images
run: |
# TODO: use the right kubernetes version here
Expand All @@ -50,5 +51,5 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push the images
run: |
oras push ${REGISTRY}/${{ github.repository }}/ubuntu-1804:${KUBERNETES_SEM_VERSION}.gz --manifest-config /dev/null:application/vnd.acme.rocket.config output/ubuntu-1804-kube-${KUBERNETES_SEM_VERSION}.gz
oras push ${REGISTRY}/${{ github.repository }}/ubuntu-2004:${KUBERNETES_SEM_VERSION}.gz --manifest-config /dev/null:application/vnd.acme.rocket.config output/ubuntu-2004-kube-${KUBERNETES_SEM_VERSION}.gz
oras push ${REGISTRY}/${{ github.repository }}/ubuntu-1804:${KUBERNETES_SEM_VERSION}.gz --manifest-config /dev/null:application/vnd.acme.rocket.config image-builder/images/capi/output/ubuntu-1804-kube-${KUBERNETES_SEM_VERSION}.gz
oras push ${REGISTRY}/${{ github.repository }}/ubuntu-2004:${KUBERNETES_SEM_VERSION}.gz --manifest-config /dev/null:application/vnd.acme.rocket.config image-builder/images/capi/output/ubuntu-2004-kube-${KUBERNETES_SEM_VERSION}.gz

0 comments on commit 83a246d

Please sign in to comment.