build(deps): bump google.golang.org/protobuf from 1.35.1 to 1.35.2 #221
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build turn container image | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "v*" | |
pull_request: | |
branches: | |
- "master" | |
jobs: | |
build: | |
name: Build container image | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v3 | |
with: | |
images: ghcr.io/${{ github.repository }} | |
tags: | | |
type=semver,pattern={{version}},suffix=-turn | |
type=ref,event=pr,suffix=-turn | |
flavor: | | |
latest=true | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to GitHub Container Registry | |
if: github.event_name != 'pull_request' | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ secrets.CONTAINER_USER }} | |
password: ${{ secrets.CONTAINER_TOKEN }} | |
- name: Build and push turn | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
platforms: linux/amd64 | |
build-args: | | |
DEBUG=false | |
BUILD_TAGS=turn | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: ${{ steps.meta.outputs.tags }}-turn | |
labels: ${{ steps.meta.outputs.labels }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |