Skip to content

Commit

Permalink
Test build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud DEMARCQ authored and Arnaud DEMARCQ committed Feb 19, 2024
1 parent 1fad037 commit f6140d5
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,15 @@ on:
- '**' # matches every branch

jobs:


docker:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
context: .
file: ./Dockerfile
push: true
tags: simpledotorg/alphasms_exporter:${{ github.sha }}
java-version: '21'
distribution: 'zulu'
- name: Run the Maven verify phase
run: mvn clean install

0 comments on commit f6140d5

Please sign in to comment.