Skip to content

Bind to all interfaces #15

Bind to all interfaces

Bind to all interfaces #15

Workflow file for this run

name: Build Image
permissions:
packages: write
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: docker/setup-buildx-action@v2
- id: metadata
uses: docker/metadata-action@v4
with:
images: ghcr.io/poketwo/gateway-proxy
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_PAT }}
- uses: docker/build-push-action@v4
with:
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
secrets: |
GIT_AUTH_TOKEN=${{ secrets.GHCR_PAT }}