From 855b9ed6dbff21c3c242b54bd7feb15d958a773f Mon Sep 17 00:00:00 2001 From: Finn Janssens Date: Wed, 27 Mar 2024 09:06:24 +0100 Subject: [PATCH] feat: update github action --- .github/workflows/github-actions.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index afd6625..209a61c 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -1,4 +1,4 @@ -name: Docker Image CI +name: Docker Compose CI on: push: @@ -11,9 +11,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: @@ -21,9 +18,7 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push - uses: docker/build-push-action@v2 - with: - context: . - push: true - tags: ghcr.io/${{ github.repository_owner }}/elia-hackathon-backend:latest + - name: Build and push with Docker Compose + run: | + docker-compose build + docker-compose push