Skip to content

Dependency version fix (#14) #3

Dependency version fix (#14)

Dependency version fix (#14) #3

name: Build and Push Docker Images
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build images with Docker Compose
run: |
set -e
docker compose build
env:
CLIENT_SENTRY_DSN: https://[email protected]/7
REACT_APP_BACKEND_URL: https://studentstats.internal.wmsdev.pl
- name: Push images with Docker Compose
run: |
set -e
docker compose push
env:
CLIENT_SENTRY_DSN: https://[email protected]/7
REACT_APP_BACKEND_URL: https://studentstats.internal.wmsdev.pl