diff --git a/.github/actions/build-docker/action.yml b/.github/actions/build-docker/action.yml index 808b8acdcbe3..2dfb36820808 100644 --- a/.github/actions/build-docker/action.yml +++ b/.github/actions/build-docker/action.yml @@ -9,9 +9,9 @@ inputs: required: true description: 'Node version' type: string - platform: + type: required: false - description: 'Platform' + description: 'Type of image (official or alpine)' type: string runs: @@ -55,7 +55,7 @@ runs: run: | args=(rocketchat) - if [[ '${{ inputs.platform }}' = 'alpine' ]]; then + if [[ '${{ inputs.type }}' = 'alpine' ]]; then args+=($SERVICES_PUBLISH) fi; @@ -66,7 +66,7 @@ runs: run: | args=(rocketchat) - if [[ '${{ inputs.platform }}' = 'alpine' ]]; then + if [[ '${{ inputs.type }}' = 'alpine' ]]; then args+=($SERVICES_PUBLISH) fi; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75cc4536753d..bf5d08395dd8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -185,7 +185,7 @@ jobs: strategy: fail-fast: false matrix: - platform: ['official', 'alpine'] + type: ['official', 'alpine'] steps: - uses: actions/checkout@v3 @@ -194,7 +194,7 @@ jobs: CR_USER: ${{ secrets.CR_USER }} CR_PAT: ${{ secrets.CR_PAT }} node-version: ${{ needs.release-versions.outputs.node-version }} - platform: ${{ matrix.platform }} + type: ${{ matrix.type }} build-gh-docker: name: 🚢 Build Docker Images for Production @@ -211,7 +211,7 @@ jobs: strategy: fail-fast: false matrix: - platform: ['official', 'alpine'] + type: ['official', 'alpine'] steps: - uses: actions/checkout@v3 @@ -221,10 +221,10 @@ jobs: CR_USER: ${{ secrets.CR_USER }} CR_PAT: ${{ secrets.CR_PAT }} node-version: ${{ needs.release-versions.outputs.node-version }} - platform: ${{ matrix.platform }} + type: ${{ matrix.type }} - name: Rename official Docker tag to GitHub Container Registry - if: matrix.platform == 'official' + if: matrix.type == 'official' run: | IMAGE_NAME_BASE="ghcr.io/${LOWERCASE_REPOSITORY}/rocket.chat:${DOCKER_TAG}"