Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Replace manual config load with struct and unmarshaling #39

Replace manual config load with struct and unmarshaling

Replace manual config load with struct and unmarshaling #39

name: Build and Push Docker Image Latest (Backend)
on:
push:
branches-ignore:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ secrets.DOCKER_REGISTRY_URL }}
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
- name: Build and Push Docker image
run: |
cd ./backend
docker build . --tag ${{ secrets.DOCKER_REGISTRY_URL }}/expiro-backend:latest
docker push ${{ secrets.DOCKER_REGISTRY_URL }}/expiro-backend:latest