editor has to propose directory-entry-selector for both mri:resourceF… #37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: "Checking out" | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: "Setup java JDK" | |
| uses: actions/setup-java@v4.2.1 | |
| with: | |
| java-version: 11 | |
| distribution: temurin | |
| java-package: jdk | |
| cache: maven | |
| - name: "Setting image tag" | |
| id: version | |
| run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) | |
| - name: "Build docker container" | |
| run: | | |
| mvn clean install -DskipTests -Denforcer.skip | |
| cd release/target/docker/ | |
| docker build . -t docker.pkg.github.com/geoadmin/geocat-wo/gn-with-swiss-overlay:${{ steps.version.outputs.VERSION }}-${{ github.run_number }} | |
| - name: "Login to docker.pkg.github.com" | |
| run: docker login -u $GITHUB_ACTOR -p ${{ secrets.GITHUB_TOKEN }} docker.pkg.github.com | |
| - name: "Push to github packages" | |
| run: docker push docker.pkg.github.com/geoadmin/geocat-wo/gn-with-swiss-overlay:${{ steps.version.outputs.VERSION }}-${{ github.run_number }} |