Skip to content

Commit

Permalink
chore: edit workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rudemex committed Jul 21, 2023
1 parent 2d92f22 commit 29efc2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 16 ]
node: [ '18.17.0' ]
name: "Release"
needs: setup
steps:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 29efc2e

Please sign in to comment.