Skip to content

Bump docker/login-action from 1 to 2 #101

Bump docker/login-action from 1 to 2

Bump docker/login-action from 1 to 2 #101

name: ContainerImage
on:
push:
branches: [master]
jobs:
broker_container:
name: Update Broker container image on Quay.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Quay Container Registry
uses: docker/login-action@v2
with:
registry: ${{ secrets.QUAY_SERVER }}
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Build and push image to Quay
uses: docker/build-push-action@v2
with:
file: ./Dockerfile
push: true
tags: ${{ secrets.QUAY_SERVER }}/${{ secrets.QUAY_NAMESPACE }}/broker:latest