fix(devcontainer): does arm64 build now question mark
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
2 files changed
+5
-9
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Flux Cluster Template (Tools)",
|
"name": "Cluster Template",
|
||||||
"id": "cluster-template",
|
"id": "cluster-template",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Install Tools"
|
"description": "Work environment for the Cluster Template project"
|
||||||
}
|
}
|
||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
devcontainer:
|
devcontainer:
|
||||||
if: ${{ github.repository == 'onedr0p/cluster-template' }}
|
if: ${{ github.repository == 'onedr0p/cluster-template' }}
|
||||||
name: publish
|
name: publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04 # TODO: Change to ubuntu-latest when available
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
@@ -34,8 +34,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
|
||||||
platforms: linux/amd64 #,linux/arm64
|
|
||||||
|
|
||||||
- if: ${{ github.event_name != 'pull_request' }}
|
- if: ${{ github.event_name != 'pull_request' }}
|
||||||
name: Login to GitHub Container Registry
|
name: Login to GitHub Container Registry
|
||||||
@@ -47,12 +45,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: devcontainers/ci@v0.3
|
uses: devcontainers/ci@v0.3
|
||||||
env:
|
|
||||||
BUILDX_NO_DEFAULT_ATTESTATIONS: true
|
|
||||||
with:
|
with:
|
||||||
imageName: ghcr.io/${{ github.repository }}/devcontainer
|
imageName: ghcr.io/${{ github.repository }}/devcontainer
|
||||||
# cacheFrom: ghcr.io/${{ github.repository }}/devcontainer
|
cacheFrom: ghcr.io/${{ github.repository }}/devcontainer
|
||||||
imageTag: latest
|
imageTag: latest
|
||||||
platform: linux/amd64 #,linux/arm64
|
platform: linux/amd64,linux/arm64
|
||||||
configFile: .devcontainer/ci/devcontainer.json
|
configFile: .devcontainer/ci/devcontainer.json
|
||||||
push: ${{ github.event_name == 'pull_request' && 'never' || 'always' }}
|
push: ${{ github.event_name == 'pull_request' && 'never' || 'always' }}
|
||||||
Reference in new issue
Block a user