Skip to content

Commit

Permalink
#91: Made sure make is installed on win machines
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-glushko committed Apr 28, 2024
1 parent f21e07b commit 5333dfe
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,24 +177,27 @@ jobs:
- name: login into Docker
run: echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u einstack --password-stdin

- name: Set up Make
run: choco install make

- name: build ${{ matrix.image }} image
working-directory: ./images
env:
VERSION: ${{ needs.setup.outputs.version }}
COMMIT: ${{ needs.setup.outputs.commit }}
BUILD_DATE: ${{ needs.setup.outputs.build_date }}
run: VERSION="${{ env.VERSION }}" COMMIT="${{ needs.setup.outputs.commit }}" BUILD_DATE="${{ needs.setup.outputs.build_date }}" make ${{ matrix.image }}
run: make VERSION="${{ env.VERSION }}" COMMIT="${{ needs.setup.outputs.commit }}" BUILD_DATE="${{ needs.setup.outputs.build_date }}" ${{ matrix.image }}

- name: publish ${{ matrix.image }} image to Github Container Registry
if: "needs.setup.outputs.dry-run != 'true'"
working-directory: ./images
env:
VERSION: ${{ needs.setup.outputs.version }}
run: VERSION="${{ env.VERSION }}" make publish-ghcr-${{ matrix.image }}
run: make VERSION="${{ env.VERSION }}" publish-ghcr-${{ matrix.image }}

- name: publish ${{ matrix.image }} image to DockerHub
if: "needs.setup.outputs.dry-run != 'true'"
working-directory: ./images
env:
VERSION: ${{ needs.setup.outputs.version }}
run: VERSION="${{ env.VERSION }}" make publish-dockerhub-${{ matrix.image }}
run: make VERSION="${{ env.VERSION }}" publish-dockerhub-${{ matrix.image }}

0 comments on commit 5333dfe

Please sign in to comment.