Skip to content

bugfix(27445): added profile condition to make it generic (#696) #130

bugfix(27445): added profile condition to make it generic (#696)

bugfix(27445): added profile condition to make it generic (#696) #130

Workflow file for this run

name: build
on:
push:
branches:
- "*.*.x"
- "master"
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push base
env:
TAG: ${{ github.ref_name == 'master' && 'latest' || github.ref_name }}
uses: docker/build-push-action@v5
with:
push: true
target: base
tags: teltek/pumukit-base:${{ env.TAG }}
-
name: Build and push PuMuKIT
env:
TAG: ${{ github.ref_name == 'master' && 'latest' || github.ref_name }}
uses: docker/build-push-action@v5
with:
push: true
target: production
tags: teltek/pumukit:${{ env.TAG }}
-
name: Build and push PuMuKIT Proxy
env:
TAG: ${{ github.ref_name == 'master' && 'latest' || github.ref_name }}
uses: docker/build-push-action@v5
with:
push: true
target: proxy
tags: teltek/nginx:${{ env.TAG }}