Skip to content

zpush v2.7.1

zpush v2.7.1 #11

Workflow file for this run

name: Build Github Docker Image
on:
push:
tags:
- 'v*.*.*'
jobs:
main:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
-
name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
images: si458/zpush
tag-latest: false
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/${{ steps.docker_meta.outputs.tags }}
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}