Skip to content

Build and Push voltaserve/idp #3

Build and Push voltaserve/idp

Build and Push voltaserve/idp #3

Workflow file for this run

name: Build and Push voltaserve/idp
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "idp/**"
pull_request:
branches:
- main
paths:
- "idp/**"
jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64, amd64
- name: Set Up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
context: ./idp
push: true
tags: voltaserve/idp:latest
platforms: linux/amd64,linux/arm64