fix: only build devcontainer for amd64
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 file changed
+2
-2
@@ -35,7 +35,7 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64
|
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
|
||||||
@@ -53,6 +53,6 @@ jobs:
|
|||||||
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: base,latest
|
imageTag: base,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