Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Commit

Permalink
cache and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Kerkhoff committed Nov 17, 2024
1 parent cd0ef94 commit 6fc5d3b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: cd tutor-assistant

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -34,15 +32,15 @@ jobs:
context: tutor-assistant
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/tutor-assistant:latest
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/tutor-assistant:latest
cache-to: type=inline

build-tutor-assistant-app-service:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- run: cd tutor-assistant

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -55,15 +53,15 @@ jobs:
context: tutor-assistant-app-service
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/tutor-assistant-app-service:latest
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/tutor-assistant-app-service:latest
cache-to: type=inline

build-tutor-assistant-web:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- run: cd tutor-assistant

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -73,6 +71,8 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
context: tutor-assistant-web
context: tutor-assistent-web
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/tutor-assistant-web:latest
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/tutor-assistant-web:latest
cache-to: type=inline

0 comments on commit 6fc5d3b

Please sign in to comment.