Skip to content

Insist on the fact that's the internal port that is used in SERVICE_* #60

Insist on the fact that's the internal port that is used in SERVICE_*

Insist on the fact that's the internal port that is used in SERVICE_* #60

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ main ]
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
-
name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: |
metabrainz/serviceregistrator
# generate Docker tags based on the following events/attributes
tags: |
type=semver,pattern={{raw}}
type=edge,branch=main
flavor: |
latest=auto
prefix=
suffix=
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}