Skip to content

Commit

Permalink
add app data image
Browse files Browse the repository at this point in the history
  • Loading branch information
Romancha committed Jan 18, 2024
1 parent ad413fd commit f3e439a
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ jobs:
strategy:
matrix:
include:
- tags: ${{ secrets.DOCKER_HUB_USERNAME }}/wr-pomodoro-site:latest
- image: wr-pomodoro-site
dockerfile: ./Dockerfile
cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/wr-pomodoro-site:buildcache
cache-to: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/wr-pomodoro-site:buildcache,mode=max
- image: ${{ secrets.DOCKER_HUB_USERNAME }}/wr-pomodoro-site-app-data:latest
- image: wr-pomodoro-site-app-data
dockerfile: ./Dockerfile_app_data
cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/wr-pomodoro-site-app-data:buildcache
cache-to: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/wr-pomodoro-site-app-data:buildcache,mode=max

steps:
- name: Checkout
Expand All @@ -37,6 +33,6 @@ jobs:
context: .
file: ${{ matrix.dockerfile }}
push: true
tags: ${{ matrix.tags }}
cache-from: ${{ matrix.cache-from }}
cache-to: ${{ matrix.cache-to }}
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ matrix.image }}:latest
cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/${{ matrix.image }}:buildcache
cache-to: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/${{ matrix.image }}:buildcache,mode=max

0 comments on commit f3e439a

Please sign in to comment.