Skip to content

Use Plone 5.2.14

Use Plone 5.2.14 #48

Workflow file for this run

name: Release new Docker image
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
environment: DOCKER_HUB
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
# list of Docker images to use as base name for tags
images: |
plone/plone-backend
# update label with proper version number
labels: |
org.label-schema.docker.cmd=docker run -d -p 8080:8080 plone/plone-backend:{{version}}
flavor: |
latest=false
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
type=ref,event=pr
type=pep440,pattern={{version}}
type=pep440,pattern={{major}}.{{minor}}.{{patch}}
type=pep440,pattern={{major}}.{{minor}}
type=pep440,pattern={{major}}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
platforms: linux/amd64,linux/arm64
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}