Skip to content

chore: merge patch (#10) #9

chore: merge patch (#10)

chore: merge patch (#10) #9

Workflow file for this run

name: Build current image
on:
push:
branches:
- main
paths-ignore:
- '*.md'
- 'LICENSE'
jobs:
build:
runs-on: self-hosted
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
ghcr.io/defguard/defguard-proxy
tags: |
type=raw,value=current
type=ref,event=branch
type=sha
- name: Login to GitHub container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build container
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}