Skip to content

Commit dc22ae1

Browse files
committed
chore: rollback multiarch builds
1 parent a08ed64 commit dc22ae1

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,17 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
1515

16-
- name: Set up Docker Buildx
17-
uses: docker/setup-buildx-action@v3
18-
1916
- name: Log in to GitHub Container Registry
2017
uses: docker/login-action@v3
2118
with:
2219
registry: ghcr.io
2320
username: ${{ github.actor }}
2421
password: ${{ secrets.GHCR_TOKEN }}
2522

26-
- name: Build and push multiarch image
27-
env:
28-
SHORT_SHA: ${{ github.sha }}
23+
- name: Build and push image
2924
run: |
30-
SHORT_SHA=${SHORT_SHA::7}
31-
docker buildx build \
32-
--platform linux/amd64,linux/arm64/v8 --push \
33-
-t ghcr.io/voidcontests/runner:$SHORT_SHA \
34-
-t ghcr.io/voidcontests/runner:latest .
25+
SHORT_SHA=${GITHUB_SHA::7}
26+
docker build -t ghcr.io/voidcontests/runner:$SHORT_SHA \
27+
-t ghcr.io/voidcontests/runner:latest .
28+
docker push ghcr.io/voidcontests/runner:$SHORT_SHA
29+
docker push ghcr.io/voidcontests/runner:latest

0 commit comments

Comments
 (0)