Skip to content

chore(template): update readme #12

chore(template): update readme

chore(template): update readme #12

Workflow file for this run

name: Build Wordpress
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
push_to_registry:
name: Build and push Wordpress bedrock image
runs-on: ubuntu-latest
steps:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push to Docker Hub
uses: docker/build-push-action@v3
with:
push: true
tags: erasme/eraboard-wordpress:${{ github.ref == 'refs/heads/main' && 'latest' || 'dev' }}
context: "{{defaultContext}}:templates/wordpress"