Skip to content

Bug/SK-937 | Update for previous clients fails, missing client_id #1133

Bug/SK-937 | Update for previous clients fails, missing client_id

Bug/SK-937 | Update for previous clients fails, missing client_id #1133

name: "build containers"
on:
push:
branches:
- master
- develop
pull_request:
branches:
- develop
- master
release:
types: [published]
jobs:
build-containers:
runs-on: ubuntu-20.04
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Docker meta fedn
id: meta1
uses: docker/metadata-action@v4
with:
images: |
docker.pkg.github.com/${{ github.repository }}/fedn
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: "${{ github.event_name != 'pull_request' }}"
tags: ${{ steps.meta1.outputs.tags }}
labels: ${{ steps.meta1.outputs.labels }}
file: Dockerfile