fix installation of jhipster in user nodejs #72
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: "Entando CI Docker images" | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| permissions: write-all | |
| jobs: | |
| docker-buildx: | |
| name: Buildx | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Docker meta-ent-cli-github | |
| id: meta-ent-cli-github | |
| uses: docker/metadata-action@v4 | |
| with: | |
| # List of Docker Images to use as base name for tags | |
| images: | | |
| entando/ent-cli-github | |
| # generate Docker tags based on the following events/attributes | |
| tags: | | |
| type=ref,event=tag | |
| type=semver,pattern={{version}} | |
| type=semver,pattern={{major}}.{{minor}} | |
| type=semver,pattern={{major}} | |
| type=sha | |
| - name: Docker meta-ent-cli-ocp | |
| id: meta-ent-cli-ocp | |
| uses: docker/metadata-action@v4 | |
| with: | |
| # List of Docker Images to use as base name for tags | |
| images: | | |
| entando/ent-cli-ocp | |
| # generate Docker tags based on the following events/attributes | |
| tags: | | |
| type=ref,event=tag | |
| type=semver,pattern={{version}} | |
| type=semver,pattern={{major}}.{{minor}} | |
| type=semver,pattern={{major}} | |
| type=sha | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v2 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v2 | |
| with: | |
| platforms: linux/amd64,linux/arm64 | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v2 | |
| with: | |
| username: ${{ secrets.ENTANDO_OPT_DOCKER_USERNAME }} | |
| password: ${{ secrets.ENTANDO_OPT_DOCKER_PASSWORD }} | |
| - name: Build ent-cli-github | |
| uses: docker/build-push-action@v4 | |
| with: | |
| context: . | |
| file: Dockerfile.GitHub | |
| push: true | |
| tags: ${{ steps.meta-ent-cli-github.outputs.tags }} | |
| build-args: | | |
| ENTANDO_VERSION=${{ vars.ENTANDO_RELEASE }} | |
| ENT_VERSION=${{ github.ref_name }} | |
| labels: ${{ steps.meta-ent-cli-github.outputs.labels }} | |
| platforms: linux/amd64 | |
| - name: Build ent-cli-ocp | |
| uses: docker/build-push-action@v4 | |
| with: | |
| context: . | |
| file: Dockerfile.OCP | |
| push: true | |
| tags: ${{ steps.meta-ent-cli-ocp.outputs.tags }} | |
| build-args: | | |
| ENT_VERSION=${{ vars.ENTANDO_RELEASE }} | |
| ENT_CLI_VERSION=${{ github.ref_name }} | |
| KUBECTL_RELEASE=${{ vars.KUBECTL_RELEASE }} | |
| labels: ${{ steps.meta-ent-cli-ocp.outputs.labels }} | |
| platforms: linux/amd64 |