Use Volto 18.32.3 #436
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release new Docker image | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| workflow_dispatch: | |
| env: | |
| BASE_IMAGE_NAME: plone/frontend | |
| PLATFORMS: linux/amd64,linux/arm64 | |
| IS_LATEST: true | |
| jobs: | |
| meta: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| BASE_IMAGE_NAME: ${{ steps.vars.outputs.BASE_IMAGE_NAME }} | |
| IS_LATEST: ${{ steps.vars.outputs.IS_LATEST }} | |
| PLATFORMS: ${{ steps.vars.outputs.PLATFORMS }} | |
| VOLTO_VERSION: ${{ steps.vars.outputs.VOLTO_VERSION }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set BASE_IMAGE_NAME, IS_LATEST, PLATFORMS, VOLTO_VERSION | |
| id: vars | |
| run: | | |
| echo "BASE_IMAGE_NAME=$BASE_IMAGE_NAME" >> $GITHUB_OUTPUT | |
| echo "PLATFORMS=$PLATFORMS" >> $GITHUB_OUTPUT | |
| echo "IS_LATEST=$IS_LATEST" >> $GITHUB_OUTPUT | |
| echo "VOLTO_VERSION=$(cat version.txt)" >> $GITHUB_OUTPUT | |
| pnpm-builder-image: | |
| needs: | |
| - meta | |
| uses: ./.github/workflows/image-release.yml | |
| with: | |
| volto-version: ${{ needs.meta.outputs.VOLTO_VERSION }} | |
| image-name: ${{ needs.meta.outputs.BASE_IMAGE_NAME }}-builder | |
| context: ./pnpm | |
| dockerfile: pnpm/Dockerfile.builder | |
| platforms: ${{ needs.meta.outputs.PLATFORMS }} | |
| is-latest: ${{ needs.meta.outputs.IS_LATEST == 'true' }} | |
| secrets: | |
| registry-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| registry-password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| pnpm-prod-conf-image: | |
| uses: ./.github/workflows/image-release.yml | |
| with: | |
| volto-version: ${{ needs.meta.outputs.VOLTO_VERSION }} | |
| image-name: ${{ needs.meta.outputs.BASE_IMAGE_NAME }}-prod-config | |
| context: ./pnpm | |
| dockerfile: pnpm/Dockerfile.prod | |
| platforms: ${{ needs.meta.outputs.PLATFORMS }} | |
| is-latest: ${{ needs.meta.outputs.IS_LATEST == 'true' }} | |
| secrets: | |
| registry-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| registry-password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| needs: | |
| - meta | |
| pnpm-dev-image: | |
| uses: ./.github/workflows/image-release.yml | |
| with: | |
| volto-version: ${{ needs.meta.outputs.VOLTO_VERSION }} | |
| image-name: ${{ needs.meta.outputs.BASE_IMAGE_NAME }}-dev | |
| context: ./pnpm | |
| dockerfile: pnpm/Dockerfile.dev | |
| platforms: ${{ needs.meta.outputs.PLATFORMS }} | |
| is-latest: ${{ needs.meta.outputs.IS_LATEST == 'true' }} | |
| secrets: | |
| registry-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| registry-password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| needs: | |
| - meta | |
| - pnpm-builder-image | |
| pnpm-plone-frontend: | |
| uses: ./.github/workflows/image-release.yml | |
| with: | |
| volto-version: ${{ needs.meta.outputs.VOLTO_VERSION }} | |
| image-name: plone/plone-frontend | |
| context: ./pnpm | |
| dockerfile: pnpm/Dockerfile | |
| platforms: ${{ needs.meta.outputs.PLATFORMS }} | |
| is-latest: ${{ needs.meta.outputs.IS_LATEST == 'true' }} | |
| secrets: | |
| registry-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| registry-password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| needs: | |
| - meta | |
| - pnpm-builder-image | |
| - pnpm-prod-conf-image | |
| yarn-builder-image: | |
| needs: | |
| - meta | |
| uses: ./.github/workflows/image-release.yml | |
| with: | |
| volto-version: ${{ needs.meta.outputs.VOLTO_VERSION }} | |
| image-name: ${{ needs.meta.outputs.BASE_IMAGE_NAME }}-builder | |
| context: ./yarn | |
| dockerfile: yarn/Dockerfile.builder | |
| platforms: ${{ needs.meta.outputs.PLATFORMS }} | |
| suffix: -yarn | |
| secrets: | |
| registry-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| registry-password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| yarn-prod-conf-image: | |
| uses: ./.github/workflows/image-release.yml | |
| with: | |
| volto-version: ${{ needs.meta.outputs.VOLTO_VERSION }} | |
| image-name: ${{ needs.meta.outputs.BASE_IMAGE_NAME }}-prod-config | |
| context: ./yarn | |
| dockerfile: yarn/Dockerfile.prod | |
| platforms: ${{ needs.meta.outputs.PLATFORMS }} | |
| suffix: -yarn | |
| secrets: | |
| registry-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| registry-password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| needs: | |
| - meta | |
| yarn-dev-image: | |
| uses: ./.github/workflows/image-release.yml | |
| with: | |
| volto-version: ${{ needs.meta.outputs.VOLTO_VERSION }} | |
| image-name: ${{ needs.meta.outputs.BASE_IMAGE_NAME }}-dev | |
| context: ./yarn | |
| dockerfile: yarn/Dockerfile.dev | |
| platforms: ${{ needs.meta.outputs.PLATFORMS }} | |
| suffix: -yarn | |
| secrets: | |
| registry-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| registry-password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| needs: | |
| - meta | |
| - yarn-builder-image | |
| yarn-plone-frontend: | |
| uses: ./.github/workflows/image-release.yml | |
| with: | |
| volto-version: ${{ needs.meta.outputs.VOLTO_VERSION }} | |
| image-name: plone/plone-frontend | |
| context: ./yarn | |
| dockerfile: yarn/Dockerfile | |
| platforms: ${{ needs.meta.outputs.PLATFORMS }} | |
| suffix: -yarn | |
| secrets: | |
| registry-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| registry-password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| needs: | |
| - meta | |
| - yarn-builder-image | |
| - yarn-prod-conf-image |