Skip to content

Commit cb150bc

Browse files
committed
restore platform argument, shuffle order of ci steps
1 parent 3920198 commit cb150bc

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: .github/workflows/releases.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,23 @@ jobs:
6767
tags: ${{ steps.image-metadata.outputs.tags }}
6868
labels: ${{ steps.image-metadata.outputs.labels }}
6969
containerfiles: ./Dockerfile
70-
archs: amd64, arm64, armv7
70+
platform: linux/amd64, linux/arm64, linux/arm/v7
7171
oci: true
7272
# enable build layer caching between platforms
7373
layers: true
7474
# Webpack seems to use a lot of open files, increase the max open file limit to accomodate.
7575
extra-args: |
7676
--ulimit nofile=10000
7777
78+
- name: Publish to GHCR
79+
uses: redhat-actions/push-to-registry@v2
80+
with:
81+
image: ${{ steps.build-image.outputs.image }}
82+
tags: ${{ steps.build-image.outputs.tags }}
83+
registry: ${{ env.REGISTRY }}
84+
username: ${{ env.REGISTRY_USER }}
85+
password: ${{ env.REGISTRY_PASSWORD }}
86+
7887
- name: Upload Release Assets
7988
id: upload-release-assets
8089
uses: svenstaro/upload-release-action@v2
@@ -86,15 +95,6 @@ jobs:
8695
file_glob: true
8796
body: "See the [CHANGELOG](https://github.com/gchq/CyberChef/blob/master/CHANGELOG.md) and [commit messages](https://github.com/gchq/CyberChef/commits/master) for details."
8897

89-
- name: Publish to GHCR
90-
uses: redhat-actions/push-to-registry@v2
91-
with:
92-
image: ${{ steps.build-image.outputs.image }}
93-
tags: ${{ steps.build-image.outputs.tags }}
94-
registry: ${{ env.REGISTRY }}
95-
username: ${{ env.REGISTRY_USER }}
96-
password: ${{ env.REGISTRY_PASSWORD }}
97-
9898
- name: Publish to NPM
9999
uses: JS-DevTools/npm-publish@v1
100100
with:

0 commit comments

Comments
 (0)