Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
thjarvin authored Dec 19, 2024
2 parents 6dd0ccd + 47b4e00 commit 0fe494b
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload .jar file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: transitdata-hfp-parser-jar-with-dependencies.jar
path: target/transitdata-hfp-parser-jar-with-dependencies.jar
Expand All @@ -30,7 +30,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Download .jar file
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: transitdata-hfp-parser-jar-with-dependencies.jar
path: target
Expand All @@ -49,7 +49,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Download .jar file
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: transitdata-hfp-parser-jar-with-dependencies.jar
path: target
Expand All @@ -60,3 +60,22 @@ jobs:
username: ${{ secrets.TRANSITDATA_DOCKERHUB_USER }}
password: ${{ secrets.TRANSITDATA_DOCKERHUB_TOKEN }}
tag_semver: true
build-aks-dev-docker-image:
needs: test
runs-on: ubuntu-latest
# Run only on aks-dev branch
if: github.ref == 'refs/heads/aks-dev'
steps:
- uses: actions/checkout@v2
- name: Download .jar file
uses: actions/download-artifact@v4
with:
name: transitdata-hfp-parser-jar-with-dependencies.jar
path: target
- name: Build and publish aks-dev Docker image
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: hsldevcom/transitdata-hfp-parser
username: ${{ secrets.TRANSITDATA_DOCKERHUB_USER }}
password: ${{ secrets.TRANSITDATA_DOCKERHUB_TOKEN }}
tags: aks-dev

0 comments on commit 0fe494b

Please sign in to comment.