Skip to content

Commit

Permalink
Reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMountain committed Jan 4, 2023
1 parent c0dbf2f commit 455c1d0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/dd-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
go-version: 1.15
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2
- name: Build
env:
KUBE_BUILD_PLATFORMS: ${{ matrix.platform }}
KUBE_RELEASE_RUN_TESTS: n
run: make quick-release KUBE_BUILD_PLATFORMS=$KUBE_BUILD_PLATFORMS
- name: Build pause container image
shell: bash
env:
Expand All @@ -38,12 +43,8 @@ jobs:
echo docker image list done
docker save -o _output/release-tars/pause-3.6-${TARGET_PLATFORM}.tar staging-k8s.gcr.io/pause:3.6-${TARGET_PLATFORM}
echo docker save done
gzip _output/release-tars/pause-3.6-${TARGET_PLATFORM}.tar
- name: Build
env:
KUBE_BUILD_PLATFORMS: ${{ matrix.platform }}
KUBE_RELEASE_RUN_TESTS: n
run: make quick-release KUBE_BUILD_PLATFORMS=$KUBE_BUILD_PLATFORMS
gzip -v _output/release-tars/pause-3.6-${TARGET_PLATFORM}.tar
ls -l _output/release-tars
- name: Calculate checksums
id: calculate_checksums
shell: bash
Expand All @@ -54,6 +55,7 @@ jobs:
TARGET_PLATFORM="${KUBE_BUILD_PLATFORM/\//-}"
for TARGET_FILE in *"${TARGET_PLATFORM}".tar.gz
do
echo sha256 for "$TARGET_FILE" to "${TARGET_FILE}.sha256sum"
sha256sum "$TARGET_FILE" > "${TARGET_FILE}.sha256sum"
done
- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 455c1d0

Please sign in to comment.