From 29efc2e6edd6dce903a004d5ea35f4c83835a57c Mon Sep 17 00:00:00 2001 From: Maximiliano Delgado Date: Fri, 21 Jul 2023 10:23:41 -0300 Subject: [PATCH] chore: edit workflows --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0405a29..9294b40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 16 ] + node: [ '18.17.0' ] name: "Setup" steps: - name: "⚙ Set up Node.js v${{ matrix.node }}" @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 16 ] + node: [ '18.17.0' ] name: "Release" needs: setup steps: @@ -156,7 +156,7 @@ jobs: - name: "🐳 Docker" run: | docker login -u ${DOCKER_USER} -p ${DOCKER_PASSWORD} - docker build -t ${{ github.event.repository.name }} . + docker build --build-arg NODE_VERSION=${{ matrix.node }} -t ${{ github.event.repository.name }} . docker tag ${{ github.event.repository.name }} ${DOCKER_USER}/${{ github.event.repository.name }}:${{ github.sha }} docker tag ${{ github.event.repository.name }} ${DOCKER_USER}/${{ github.event.repository.name }}:${{steps.Release.outputs.tag}} docker tag ${{ github.event.repository.name }} ${DOCKER_USER}/${{ github.event.repository.name }}:latest