Skip to content

Bump semver from 5.7.1 to 5.7.2 in /rerouter #13

Bump semver from 5.7.1 to 5.7.2 in /rerouter

Bump semver from 5.7.1 to 5.7.2 in /rerouter #13

name: Build ReRouter Docker Container
on:
push:
paths:
- "rerouter/**"
- ".github/workflows/build-rerouter.yml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
ghcr.io/v3xlabs/worldcoin-name-rerouter
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=edge
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: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: ./rerouter/Dockerfile
context: ./rerouter