Skip to content

test: Workflow

test: Workflow #15

name: Compile and push dev images
on:
push:
branches: ["develop"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
service: [frontend, backend]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build and push dev images
uses: ./.github/actions/build-and-push
with:
environment: "dev"
service: ${{ matrix.service }}
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}