Skip to content

Commit

Permalink
Updated build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
klakegg committed Aug 22, 2022
1 parent eacf2a9 commit dd51a33
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,21 @@ jobs:

- name: Docker login
uses: docker/login-action@v1
if: matrix.jdk == 8
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build Docker image
run: make docker_build tag=dev
if: matrix.jdk == 8

- name: Push egde images
if: "!startsWith(github.ref, 'refs/tags/')"
if: "matrix.jdk == 8 && !startsWith(github.ref, 'refs/tags/')"
run: make docker_push tag=edge

- name: Push images
if: "startsWith(github.ref, 'refs/tags/')"
if: "matrix.jdk == 8 && startsWith(github.ref, 'refs/tags/')"
run: |
make docker_push tag=${{ env.PROJECT_VERSION }}
make docker_push tag=latest

0 comments on commit dd51a33

Please sign in to comment.