Skip to content

fix(wordpress): trying default context var #7

fix(wordpress): trying default context var

fix(wordpress): trying default context var #7

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"