Skip to content

Commit

Permalink
Merge pull request #8 from Kerosene-Labs/update-workflow
Browse files Browse the repository at this point in the history
Update workflow
  • Loading branch information
hlafaille authored Dec 12, 2024
2 parents a06f459 + b1ff670 commit b223aad
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s ./settings.xml -Dgithub.token=${{ secrets.ACCESS_TOKEN }}
publish_container:
if: github.event_name == 'release'
# if: github.event_name == 'release'
runs-on: ubuntu-latest
needs:
- build
Expand All @@ -66,4 +66,12 @@ jobs:
with:
name: app
- name: Build Container Image
run: docker buil . -t ghcr.io/Kerosene-Labs/billtracker:${{ github.ref }}
run: docker build . -t ghcr.io/Kerosene-Labs/billtracker:${{ github.ref }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.ACCESS_TOKEN }}
- name: Push Container Image
run: docker push ghcr.io/Kerosene-Labs/billtracker:${{ github.ref }}

0 comments on commit b223aad

Please sign in to comment.