Skip to content

Commit

Permalink
ci: fix digest name and test new runner
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 11, 2023
1 parent 082e219 commit 1dd7e0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
description: Image target. i.e. drive-abci, dapi
required: true
env:
DIGEST_NAME: digests-${{ github.sha }}
DIGEST_DIR_PATH: /tmp/digests/${{ inputs.image_org }}/${{ inputs.image_name }}

jobs:
Expand Down Expand Up @@ -78,7 +79,7 @@ jobs:
- name: Upload digest
uses: actions/upload-artifact@v3
with:
name: digests
name: ${{ env.DIGEST_NAME }}
path: ${{ env.DIGEST_DIR_PATH }}/*
if-no-files-found: error
retention-days: 1
Expand All @@ -91,7 +92,7 @@ jobs:
- name: Download digests
uses: actions/download-artifact@v3
with:
name: digests
name: ${{ env.DIGEST_NAME }}
path: ${{ env.DIGEST_DIR_PATH }}

- name: Set up Docker Buildx
Expand Down Expand Up @@ -147,7 +148,6 @@ jobs:
- name: Create manifest list and push
working-directory: ${{ env.DIGEST_DIR_PATH }}
run: |
ls -lah
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ inputs.image_org }}/${{ inputs.image_name }}@sha256:%s ' *)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
build-image:
name: Build ${{ inputs.name }} image
runs-on: [ "self-hosted", "linux", "arm64", "ubuntu-platform" ]
runs-on: [ "self-hosted", "linux", "arm64-4x", "ubuntu-platform" ]
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-build-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
jobs:
build-js:
name: Build JS
runs-on: [ "self-hosted", "linux", "arm64", "ubuntu-platform" ]
runs-on: [ "self-hosted", "linux", "arm64-4x", "ubuntu-platform" ]
steps:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
Expand Down

0 comments on commit 1dd7e0e

Please sign in to comment.