From a3c543493a46e6761a9d0d72bd002ed90b4792b3 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Wed, 14 Aug 2024 18:57:57 +0100 Subject: [PATCH 1/2] Add MATCHY_TAG to control which image tag compose will use --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2bafbfb..b4fa833 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: matchy: - image: ghcr.io/mdiluz/matchy:latest + image: ghcr.io/mdiluz/matchy:${MATCHY_TAG:-latest} env_file: ".env" volumes: - ${MATCHY_DATA:-./.matchy}:/usr/src/app/.matchy \ No newline at end of file From 74cc9aaf20877cc9ba5bf79e821c84bd3fdf2aca Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Wed, 14 Aug 2024 19:03:51 +0100 Subject: [PATCH 2/2] Update the job names and ids in the GHAs --- .github/workflows/publish.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7d0d549..d785224 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Create and publish a Docker image +name: Build and Push Docker on: push: @@ -16,7 +16,7 @@ env: # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. jobs: - build-and-push-image: + build-and-push-images: runs-on: ubuntu-latest # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0b1af9..90a8904 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,9 +1,9 @@ -name: Test +name: Run Tests on: [push] jobs: - build: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4