Skip to content

Commit

Permalink
restructure and fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
oscrx committed Aug 5, 2023
1 parent ec61b98 commit cec1dcc
Show file tree
Hide file tree
Showing 104 changed files with 20,725 additions and 14,479 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ jobs:
strategy:
matrix:
folder:
- beer-import-legacy
- pils-legacy
- frontend-legacy
# - frontend
- beer-import
- pils
- pils-frontend
steps:
-
uses: actions/checkout@v3
Expand Down Expand Up @@ -52,8 +51,7 @@ jobs:
# strategy:
# matrix:
# folder:
# - beer-import
# - pils
# - api
# steps:
# -
# uses: actions/checkout@v3
Expand All @@ -70,20 +68,18 @@ jobs:
# run: go test -v ./...

docker:
if: github.ref == 'refs/heads/master' || github.event == 'push'
if: github.ref == 'refs/heads/main' || github.event == 'push'
needs:
- test-node
# - test-go
runs-on: ubuntu-latest
strategy:
matrix:
folder:
# - beer-import
- beer-import-legacy
# - frontend
- frontend-legacy
# - pils
- pils-legacy
- beer-import
- pils-frontend
- pils
# - api

steps:
-
Expand Down Expand Up @@ -118,11 +114,11 @@ jobs:
name: Build and push
uses: docker/build-push-action@v3
with:
context: .
context: ${{ matrix.folder }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
platforms: linux/amd64,linux/arm64
cache-from: type=registry,ref=${{ github.repository }}
cache-to: type=registry,ref=${{ github.repository }}
# https://docs.docker.com/build/building/cache/backends/#cache-mode
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit cec1dcc

Please sign in to comment.