Skip to content

Bump docker/build-push-action from 6.2.0 to 6.4.1 (#121) #36

Bump docker/build-push-action from 6.2.0 to 6.4.1 (#121)

Bump docker/build-push-action from 6.2.0 to 6.4.1 (#121) #36

name: Release Integration Environment
on:
push:
branches: [ main ]
workflow_dispatch:
defaults:
run:
shell: bash
permissions:
contents: read
packages: write
env:
OWNER: hashgraph
REGISTRY: ghcr.io
jobs:
publish:
name: Publish
runs-on: [self-hosted, Linux, medium, ephemeral]
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Login to GitHub Container Registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Qemu
uses: docker/setup-qemu-action@5927c834f5b4fdf503fca6f4c7eccda82949e1ee # v3.1.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
with:
driver-opts: network=host
- name: Build and push images
uses: docker/build-push-action@1ca370b3a9802c92e886402e0dd88098a2533b12 # v6.4.1
with:
context: ./auth-layer-proxy
file: ./auth-layer-proxy/Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository }}:auth-layer-proxy-main