diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7eb0353..ec922ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,21 @@ jobs: with: name: binary-amd64-${{ matrix.os }} path: bin/roadie-${{ matrix.os }}-amd64 + # Could potentially use saadmk11/changelog-ci@v1.1.2 to automate the release body + - name: 'Create Github Release' + uses: ncipollo/release-action@v1 + with: + allowUpdates: true + artifacts: 'bin/*' + omitBody: true + # The container image build doesn't depend on any steps outside the build process itself, run in parallel + container: + runs-on: ubuntu-latest + name: 'Build Container Image' + steps: + - name: 'Setup Docker buildx' + uses: docker/setup-buildx-action@v3 - name: 'Login to Docker Hub' uses: docker/login-action@v3 with: @@ -52,13 +66,8 @@ jobs: uses: docker/build-push-action@v5 with: context: . + labels: ${{ steps.meta.outputs.labels }} + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - - - name: 'Create Github Release' - uses: ncipollo/release-action@v1 - with: - artifacts: 'bin/*' - omitBody: true