Skip to content

Release Integration Environment #2

Release Integration Environment

Release Integration Environment #2

name: Release Integration Environment
on:
push:
branches: [ main ]
workflow_dispatch:
env:
OWNER: hashgraph
REGISTRY: ghcr.io
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Qemu
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver-opts: network=host
- name: Build and push images
uses: docker/build-push-action@v2
with:
context: ./auth-layer-proxy
file: ./auth-layer-proxy/Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64, linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository }}:auth-layer-proxy-main