Skip to content

wordpress: add (patched) wp2static, bump plugin versions #41

wordpress: add (patched) wp2static, bump plugin versions

wordpress: add (patched) wp2static, bump plugin versions #41

Workflow file for this run

name: Build wordpress Docker image
on:
- push
- pull_request
jobs:
deploy:
runs-on: ubuntu-latest
if: github.repository == 'hacklabto/web-infra'
steps:
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
- uses: docker/build-push-action@v2
with:
# https://github.com/docker/build-push-action/issues/378
context: docker/wordpress/
file: docker/wordpress/Dockerfile
push: true
tags: |
ghcr.io/hacklabto/wordpress:${{ github.sha }}
cache-from: type=registry,ref=ghcr.io/hacklabto/wordpress:${{ env.BRANCH_NAME }}
cache-to: type=inline