@@ -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
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
91
+ with :
92
+ registry : ghcr.io
93
+ username : ${{ github.actor }}
94
+ password : ${{ secrets.GITHUB_TOKEN }}
95
95
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
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
100
101
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
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
0 commit comments