Skip to content

Change docker image to audiocodes #12

Change docker image to audiocodes

Change docker image to audiocodes #12

Workflow file for this run

name: Docker
on:
push:
tags:
- "v*"
jobs:
docker:
runs-on: ubuntu-24.04
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
audiocodes/drachtio-server
tags: |
type=match,pattern=v(.*),group=1
- name: Login to Docker Hub
uses: docker/login-action@v3
if: ${{ github.event_name != 'pull_request' }}
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
build-args: |
MYVERSION=${{ env.DOCKER_METADATA_OUTPUT_VERSION }}