Skip to content

Merge remote-tracking branch 'origin/main' into sprint #15

Merge remote-tracking branch 'origin/main' into sprint

Merge remote-tracking branch 'origin/main' into sprint #15

Workflow file for this run

name: Build and publish to test
on:
push:
branches:
- 'sprint'
jobs:
build-and-docker-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn --update-snapshots -f pom.xml verify
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ghcr.io/it-at-m/mobidam-s3-eai:test