Skip to content

align-dependencies-with-upstream-sb-2.7.17 (#146) #68

align-dependencies-with-upstream-sb-2.7.17 (#146)

align-dependencies-with-upstream-sb-2.7.17 (#146) #68

Workflow file for this run

name: "Push Images"
on:
workflow_dispatch:
push:
branches:
- sb-2.7.x
jobs:
push:
name: Push Images to Quay.io
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11 ]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Java
uses: actions/[email protected]
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
cache: 'maven'
- name: Quay.io Login
run: docker login quay.io -u="${{secrets.QUAY_USER}}" -p="${{secrets.QUAY_TOKEN}}"
- name: Build
run: ./mvnw -s .github/mvn-settings.xml clean package
- name: Push Image to Quay.io
run: |
CONTAINER_REGISTRY=quay.io/snowdrop
IMAGE=spring-boot-crud-example:2.7
docker build . -t $IMAGE
docker tag $IMAGE $CONTAINER_REGISTRY/$IMAGE
docker push $CONTAINER_REGISTRY/$IMAGE