ops: Remove amd64 platform limitation
Some checks failed
ci / docker-build (pull_request) Failing after 5m42s
ci / build-and-test (pull_request) Has been skipped

This commit is contained in:
Brock Allen
2024-01-27 22:47:35 +00:00
parent 105c1be3df
commit 2df45c01ff
4 changed files with 2 additions and 12 deletions

View File

@@ -7,8 +7,7 @@
},
"workspaceMount": "",
"runArgs": [
"--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z",
"--platform=linux/amd64"
"--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z"
],
"customizations": {
"vscode": {

View File

@@ -14,9 +14,6 @@ jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
-
@@ -43,9 +40,6 @@ jobs:
runs-on: ubuntu-latest
needs: docker-build
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
-
@@ -65,7 +59,6 @@ jobs:
run: |
docker run \
--rm \
--platform linux/amd64 \
--workdir /builder/mnt \
-v ${{ github.workspace }}:/builder/mnt \
cproject-builder:latest \
@@ -75,7 +68,6 @@ jobs:
run: |
docker run \
--rm \
--platform linux/amd64 \
--workdir /builder/mnt/tests/unittest \
-v ${{ github.workspace }}:/builder/mnt \
cproject-builder:latest \

View File

@@ -2,7 +2,7 @@ ARG base_tag=bullseye
ARG base_img=mcr.microsoft.com/vscode/devcontainers/base:dev-${base_tag}
# ARG base_img=debian:${base_tag}
FROM --platform=linux/amd64 ${base_img} AS builder-install
FROM ${base_img} AS builder-install
# the following shows how to install the latest version of a package.
# you can determine the installed version with `apt-cache policy <list of packages>` and fix

View File

@@ -7,7 +7,6 @@ builder-run :
docker run \
--rm \
-it \
--platform linux/amd64 \
--workdir /builder/mnt \
-v .:/builder/mnt \
$(project_name)-builder:latest \