Skip to content

ci: add reusable workflow #623

ci: add reusable workflow

ci: add reusable workflow #623

Workflow file for this run

name: Build and push image to registry
on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
jobs:
build:
uses: code4romania/.github/.github/workflows/build-push-image.yml@9f50f9865ea70f0e0397f6092aae2facfbf43f80
with:
images: ghrc.io/code4romania/website-factory
registry: ghrc.io
push_enabled: ${{ github.event_name != 'pull_request' }}
secrets:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
token: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}