@@ -71,44 +71,44 @@ jobs:
71
71
uses : fermyon/actions/spin/setup@v1
72
72
73
73
# Push: WASM
74
- # - name: Push to OCI
75
- # id: push
76
- # uses: fermyon/actions/spin/push@v1
77
- # with:
78
- # registry: ghcr.io
79
- # registry_username: ${{ github.actor }}
80
- # registry_password: ${{ secrets.GITHUB_TOKEN }}
81
- # registry_reference: "ghcr.io/kingdon-ci/flux-docs/build:${{ github.run_id }}-2"
82
- # manifest_file: spin.toml
83
-
84
- # Push: Docker WASM (alternate while spin registry push cannot be used)
85
- - name : Set up QEMU
86
- uses : docker/setup-qemu-action@v3
87
- - name : setup buildx
88
- uses : docker/setup-buildx-action@v3
89
- - name : login to GitHub container registry
90
- uses : docker/login-action@v3
74
+ - name : Push to OCI
75
+ id : push
76
+ uses : fermyon/actions/spin/push@v1
91
77
with :
92
78
registry : ghcr.io
93
- username : ${{ github.actor }}
94
- password : ${{ secrets.GITHUB_TOKEN }}
79
+ registry_username : ${{ github.actor }}
80
+ registry_password : ${{ secrets.GITHUB_TOKEN }}
81
+ registry_reference : " ghcr.io/kingdon-ci/flux-docs/build:${{ github.run_id }}-2"
82
+ manifest_file : spin.toml
95
83
96
- - name : enable containerd image store
97
- run : |
98
- echo '{ "features": { "containerd-snapshotter": true } }' | sudo tee /etc/docker/daemon.json
99
- sudo systemctl restart docker
84
+ # Push: Docker WASM (alternate while spin registry push cannot be used)
85
+ # - name: Set up QEMU
86
+ # uses: docker/setup-qemu-action@v3
87
+ # - name: setup buildx
88
+ # uses: docker/setup-buildx-action@v3
89
+ # - name: login to GitHub container registry
90
+ # uses: docker/login-action@v3
91
+ # with:
92
+ # registry: ghcr.io
93
+ # username: ${{ github.actor }}
94
+ # password: ${{ secrets.GITHUB_TOKEN }}
100
95
101
- # Copied from https://github.com/spinkube/containerd-shim-spin/blob/main/.github/workflows/docker-build-push.yaml
102
- - name : build and push
103
- uses : docker/build-push-action@v5
104
- with :
105
- push : true
106
- tags : |
107
- ghcr.io/kingdon-ci/flux-docs/build:${{ github.run_id }}-3
108
- ghcr.io/kingdon-ci/flux-docs/build:latest
109
- context : .
110
- platforms : wasi/wasm
111
- provenance : false
96
+ # - name: enable containerd image store
97
+ # run: |
98
+ # echo '{ "features": { "containerd-snapshotter": true } }' | sudo tee /etc/docker/daemon.json
99
+ # sudo systemctl restart docker
100
+
101
+ # # Copied from https://github.com/spinkube/containerd-shim-spin/blob/main/.github/workflows/docker-build-push.yaml
102
+ # - name: build and push
103
+ # uses: docker/build-push-action@v5
104
+ # with:
105
+ # push: true
106
+ # tags: |
107
+ # ghcr.io/kingdon-ci/flux-docs/build:${{ github.run_id }}-3
108
+ # ghcr.io/kingdon-ci/flux-docs/build:latest
109
+ # context: .
110
+ # platforms: wasi/wasm
111
+ # provenance: false
112
112
113
113
# Deploy:
114
114
# - name: Deploy to Fermyon Cloud
@@ -124,7 +124,7 @@ jobs:
124
124
- name : Set Image (Kustomize SpinApp)
125
125
run : |
126
126
pushd deploy/spin-app
127
- kustomize edit set image flux-docs/build=ghcr.io/kingdon-ci/flux-docs/build:${{ github.run_id }}-3
127
+ kustomize edit set image flux-docs/build=ghcr.io/kingdon-ci/flux-docs/build:${{ github.run_id }}-2
128
128
popd
129
129
130
130
# Login: GHCR
@@ -162,4 +162,4 @@ jobs:
162
162
- name : Sign OCI WASM artifact
163
163
run : |
164
164
# keyless mode
165
- cosign sign ghcr.io/kingdon-ci/flux-docs/build:${{ github.run_id }}-3 -y
165
+ cosign sign ghcr.io/kingdon-ci/flux-docs/build:${{ github.run_id }}-2 -y
0 commit comments