Skip to content

fix: CQDG-369 gh actions and cleanup old files #9

fix: CQDG-369 gh actions and cleanup old files

fix: CQDG-369 gh actions and cleanup old files #9

name: Publish Image Using Semver Tag
on:
push:
tags:
- v*
jobs:
push:
name: Publish Image using tags
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
cache: 'sbt'
- name: Run tests
run: sbt test
- name: Assembly
run: sbt assembly
- name: Push the image on the registry
uses: Ferlab-Ste-Justine/action-push-image@v2
with:
username: ${{ secrets.FERLAB_DOCKER_HUB_USER }}
password: ${{ secrets.FERLAB_DOCKER_HUB_TOKEN }}
image: ferlabcrsj/ferload
tag_format: "{semver}"