Skip to content

Merge pull request #23 from itsmng/minzords-patch-1 #4

Merge pull request #23 from itsmng/minzords-patch-1

Merge pull request #23 from itsmng/minzords-patch-1 #4

Workflow file for this run

name: Build Docker Image
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log into GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Log into Docker.io Container Registry
uses: docker/login-action@v3
with:
registry: docker.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: |
ghcr.io/itsmng/itsm-ng:${{ github.ref_name }}
ghcr.io/itsmng/itsm-ng:latest
docker.io/itsmng/itsm-ng:${{ github.ref_name }}
docker.io/itsmng/itsm-ng:latest
context: latest
platforms: linux/amd64,linux/arm64