Skip to content

Commit

Permalink
Fix manifest creation
Browse files Browse the repository at this point in the history
  • Loading branch information
meeDamian committed Jan 23, 2020
1 parent f29def3 commit a024916
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,18 +240,18 @@ jobs:
- name: Create :X.Y manifests
if: steps.tags.outputs.minor != ''
run: |
SHORT="${{steps.tags.outputs.minor}}"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "fuse" "${SHORT}-fuse"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "nofuse" "${SHORT}-nofuse"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "nofuse"
minor="${{steps.tags.outputs.minor}}"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "fuse" "${minor}-fuse"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "nofuse" "${minor}-nofuse"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "nofuse" "${minor}"
- name: Create :X manifests
if: steps.tags.outputs.major != ''
run: |
SHORT="${{steps.tags.outputs.major}}"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "fuse" "${SHORT}-fuse"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "nofuse" "${SHORT}-nofuse"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "nofuse"
major="${{steps.tags.outputs.major}}"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "fuse" "${major}-fuse"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "nofuse" "${major}-nofuse"
./scripts/ci-create-manifest.sh "${SLUG}" "${VERSION}" "nofuse" "${major}"
- name: Create :latest manifests
if: steps.tags.outputs.latest != ''
Expand Down
2 changes: 2 additions & 0 deletions scripts/ci-create-manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ docker manifest annotate "${MANIFEST}" "${IMAGE_ARM64}" --os linux --arch ar
docker manifest annotate "${MANIFEST}" "${IMAGE_ARM7}" --os linux --arch arm --variant v7
docker manifest annotate "${MANIFEST}" "${IMAGE_ARM6}" --os linux --arch arm --variant v6
docker manifest push "${MANIFEST}"

echo

0 comments on commit a024916

Please sign in to comment.