diff --git a/.github/workflows/account-service.yml b/.github/workflows/account-service.yml index 11128de..47d59b2 100644 --- a/.github/workflows/account-service.yml +++ b/.github/workflows/account-service.yml @@ -35,6 +35,8 @@ jobs: context: ./src/account-service file: ./src/account-service/dockerfiles/prod.Dockerfile push: ${{ github.event_name == 'push' }} - tags: ghcr.io/${{ github.repository_owner }}/microservices-example/account-service:build-${{ github.run_number }} + tags: | + ghcr.io/${{ github.repository_owner }}/microservices-example/account-service:build-${{ github.run_number }} + ghcr.io/${{ github.repository_owner }}/microservices-example/account-service:latest cache-from: type=gha cache-to: type=gha,mode=max diff --git a/.github/workflows/account-subgraph.yml b/.github/workflows/account-subgraph.yml index c3f85dc..7e87c0d 100644 --- a/.github/workflows/account-subgraph.yml +++ b/.github/workflows/account-subgraph.yml @@ -35,6 +35,8 @@ jobs: context: ./src/account-subgraph file: ./src/account-subgraph/dockerfiles/prod.Dockerfile push: ${{ github.event_name == 'push' }} - tags: ghcr.io/${{ github.repository_owner }}/microservices-example/account-subgraph:build-${{ github.run_number }} + tags: | + ghcr.io/${{ github.repository_owner }}/microservices-example/account-subgraph:build-${{ github.run_number }} + ghcr.io/${{ github.repository_owner }}/microservices-example/account-subgraph:latest cache-from: type=gha cache-to: type=gha,mode=max diff --git a/.github/workflows/contents-view-subgraph.yml b/.github/workflows/contents-view-subgraph.yml index d2ced29..d5f937e 100644 --- a/.github/workflows/contents-view-subgraph.yml +++ b/.github/workflows/contents-view-subgraph.yml @@ -35,6 +35,8 @@ jobs: context: ./src/contents-view-subgraph file: ./src/contents-view-subgraph/dockerfiles/prod.Dockerfile push: ${{ github.event_name == 'push' }} - tags: ghcr.io/${{ github.repository_owner }}/microservices-example/contents-view-subgraph:build-${{ github.run_number }} + tags: | + ghcr.io/${{ github.repository_owner }}/microservices-example/contents-view-subgraph:build-${{ github.run_number }} + ghcr.io/${{ github.repository_owner }}/microservices-example/contents-view-subgraph:latest cache-from: type=gha cache-to: type=gha,mode=max diff --git a/.github/workflows/views-count-service.yml b/.github/workflows/views-count-service.yml index 77fb387..10d33a8 100644 --- a/.github/workflows/views-count-service.yml +++ b/.github/workflows/views-count-service.yml @@ -35,6 +35,8 @@ jobs: context: ./src/views-count-service file: ./src/views-count-service/dockerfiles/prod.Dockerfile push: ${{ github.event_name == 'push' }} - tags: ghcr.io/${{ github.repository_owner }}/microservices-example/views-count-service:build-${{ github.run_number }} + tags: | + ghcr.io/${{ github.repository_owner }}/microservices-example/views-count-service:build-${{ github.run_number }} + ghcr.io/${{ github.repository_owner }}/microservices-example/views-count-service:latest cache-from: type=gha cache-to: type=gha,mode=max diff --git a/.github/workflows/views-count-subgraph.yml b/.github/workflows/views-count-subgraph.yml index 3818b77..f7d36d4 100644 --- a/.github/workflows/views-count-subgraph.yml +++ b/.github/workflows/views-count-subgraph.yml @@ -35,6 +35,8 @@ jobs: context: ./src/views-count-subgraph file: ./src/views-count-subgraph/dockerfiles/prod.Dockerfile push: ${{ github.event_name == 'push' }} - tags: ghcr.io/${{ github.repository_owner }}/microservices-example/views-count-subgraph:build-${{ github.run_number }} + tags: | + ghcr.io/${{ github.repository_owner }}/microservices-example/views-count-subgraph:build-${{ github.run_number }} + ghcr.io/${{ github.repository_owner }}/microservices-example/views-count-subgraph:latest cache-from: type=gha cache-to: type=gha,mode=max diff --git a/.github/workflows/web-app.yml b/.github/workflows/web-app.yml index 08faae4..0aff5e9 100644 --- a/.github/workflows/web-app.yml +++ b/.github/workflows/web-app.yml @@ -35,6 +35,8 @@ jobs: context: ./src/web-app file: ./src/web-app/dockerfiles/prod.Dockerfile push: ${{ github.event_name == 'push' }} - tags: ghcr.io/${{ github.repository_owner }}/microservices-example/web-app:build-${{ github.run_number }} + tags: | + ghcr.io/${{ github.repository_owner }}/microservices-example/web-app:build-${{ github.run_number }} + ghcr.io/${{ github.repository_owner }}/microservices-example/web-app:latest cache-from: type=gha cache-to: type=gha,mode=max