Skip to content

Merge pull request #451 from ambrosus/audit #786

Merge pull request #451 from ambrosus/audit

Merge pull request #451 from ambrosus/audit #786

Workflow file for this run

name: Publish a docker image
on:
push:
branches:
- main
- dev
- 'test-*'
- new-cfg
tags:
- 'v*'
- 'test-*'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v3
id: meta_relay
with:
images: ghcr.io/ambrosus/ambrosus-bridge
- uses: docker/build-push-action@v2
with:
context: ./relay
push: true
tags: ${{ steps.meta_relay.outputs.tags }}
labels: ${{ steps.meta_relay.outputs.labels }}