Skip to content

Update upload_config_prod.yml #792

Update upload_config_prod.yml

Update upload_config_prod.yml #792

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 }}