Skip to content

Add space to check build #15

Add space to check build

Add space to check build #15

Workflow file for this run

name: docker package publish
on:
push:
tags:
"*.*"
env:
TARGET_PLATFORMS: linux/amd64,linux/arm64
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-publish-docker-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push docker image
uses: docker/build-push-action@v4
with:
push: true
tags: ghcr.io/shoobx/shoobx.mocks3:${{ github.ref_name }}, ghcr.io/shoobx/shoobx.mocks3:latest
platforms: ${{ env.TARGET_PLATFORMS }}