Skip to content

Add docker compose pull command #101

Add docker compose pull command

Add docker compose pull command #101

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
environment: prod
permissions:
packages: write
steps:
- uses: actions/checkout@v4
- name: Login to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHA_PAT }}
- name: Build and push using docker compose
run: |
docker compose -f ./docker-compose.yml pull
docker compose -f ./docker-compose.yml build
docker compose -f ./docker-compose.yml push