Skip to content

next development version 2.7.17-2-SNAPSHOT #59

next development version 2.7.17-2-SNAPSHOT

next development version 2.7.17-2-SNAPSHOT #59

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-configmap-example:2.7
docker build . -t $IMAGE
docker tag $IMAGE $CONTAINER_REGISTRY/$IMAGE
docker push $CONTAINER_REGISTRY/$IMAGE