Skip to content

Update monica:4.1.2-apache Docker digest to 5d69ac8 #77

Update monica:4.1.2-apache Docker digest to 5d69ac8

Update monica:4.1.2-apache Docker digest to 5d69ac8 #77

Workflow file for this run

name: Build and push
on:
push:
branches:
- main
paths:
- Dockerfile
- supervisord.conf
workflow_dispatch:
inputs:
VERSION:
type: string
required: true
default: "v4.1.2"
env:
VERSION: "v4.1.2"
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
-
name: Docker meta
id: meta
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5
with:
# list of Docker images to use as base name for tags
images: |
miladiir/monica
ghcr.io/miladiir/monica
# generate Docker tags based on the following events/attributes
tags: |
type=semver,pattern={{version}},value=${{ inputs.VERSION || env.VERSION}}
type=semver,pattern={{major}}.{{minor}},value=${{ inputs.VERSION || env.VERSION }}
type=semver,pattern={{major}},value=${{ inputs.VERSION || env.VERSION}}
-
name: Set up QEMU
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3
-
name: Login to DockerHub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GHCR
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_PACKAGES_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6
with:
push: true
platforms: linux/amd64,linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}