4 Commits
Author SHA1 Message Date
wayfinderak 1cacc79619 Merge pull request 'Build native architecture only on pull requests' (#3) from perf/ci-speed-20260914 into main
Build and Push Container / docker (push) Successful in 4m52s
2026-09-14 01:03:38 +00:00
butler-git-steward a6ca86105e Build native architecture only on pull requests
Build and Push Container / docker (pull_request) Successful in 42s
2026-09-14 00:40:30 +00:00
wayfinderak 768f4ae991 Merge pull request 'Disable unsupported optional GitHub uploads on Gitea' (#2) from fix/gitea-optional-uploads-20260911 into main
Build and Push Container / docker (push) Successful in 3m31s
2026-09-11 10:46:20 +00:00
wayfinderak 648bb34237 fix(ci): disable optional GitHub build-record and QEMU cache uploads
Build and Push Container / docker (pull_request) Successful in 3m16s
2026-09-11 10:25:22 +00:00
+11 -2
View File
@@ -38,8 +38,10 @@ jobs:
cd . cd .
bash scripts/ci-select.sh bash scripts/ci-select.sh
- name: Set up QEMU - name: Set up QEMU
if: ${{ steps.delivery.outputs.run == 'true' }} if: ${{ steps.delivery.outputs.run == 'true' && github.event_name != 'pull_request' }}
uses: https://github.com/docker/setup-qemu-action@v3 uses: https://github.com/docker/setup-qemu-action@v3
with:
cache-image: "false"
- name: Set up Docker Buildx - name: Set up Docker Buildx
if: ${{ steps.delivery.outputs.run == 'true' }} if: ${{ steps.delivery.outputs.run == 'true' }}
@@ -75,14 +77,21 @@ jobs:
echo 'tags<<EOF' echo 'tags<<EOF'
echo "$tags" echo "$tags"
echo 'EOF' echo 'EOF'
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
echo 'platforms=linux/amd64'
else
echo 'platforms=linux/amd64,linux/arm64'
fi
} >> "$GITHUB_OUTPUT" } >> "$GITHUB_OUTPUT"
- name: Build and push image - name: Build and push image
if: ${{ steps.delivery.outputs.run == 'true' }} if: ${{ steps.delivery.outputs.run == 'true' }}
uses: https://github.com/docker/build-push-action@v6 uses: https://github.com/docker/build-push-action@v6
env:
DOCKER_BUILD_RECORD_UPLOAD: "false"
with: with:
context: . context: .
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64 platforms: ${{ steps.prep.outputs.platforms }}
tags: ${{ steps.prep.outputs.tags }} tags: ${{ steps.prep.outputs.tags }}
labels: org.opencontainers.image.revision=${{ github.sha }} labels: org.opencontainers.image.revision=${{ github.sha }}