Skip to content

Fix image tags

Fix image tags #3

Workflow file for this run

name: publish
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
env:
REGISTRY: ghcr.io
jobs:
publish-manager:
name: Publish / Manager
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
build-args: PROJECT=manager
tags: ghcr.io/onpremless/manager:latest,ghcr.io/onpremless/manager:${{ github.ref_name }}
publish-router:
name: Publish / Router
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
build-args: PROJECT=router
tags: ghcr.io/onpremless/router:latest,ghcr.io/onpremless/router:${{ github.ref_name }}