Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Nov 22, 2023
1 parent aab4ac8 commit b9a9592
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- main


# https://github.com/docker/build-push-action/issues/461
# https://github.com/docker/build-push-action/issues/906#issuecomment-1674567311

jobs:
build_old:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -58,6 +62,7 @@ jobs:
id: build_base
uses: docker/build-push-action@v5
with:
load: true
context: base
push: ${{ github.event_name == 'push' && github.repository == 'DIRACGrid/container-images' && github.ref_name == 'main' }}
tags: ghcr.io/diracgrid/diracx/base:latest
Expand All @@ -70,6 +75,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: services-base
load: true
push: ${{ github.event_name == 'push' && github.repository == 'DIRACGrid/container-images' && github.ref_name == 'main' }}
tags: ghcr.io/diracgrid/diracx/services-base:latest
platforms: linux/amd64,linux/arm64
Expand All @@ -78,6 +84,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: client-base
load: true
push: ${{ github.event_name == 'push' && github.repository == 'DIRACGrid/container-images' && github.ref_name == 'main' }}
tags: ghcr.io/diracgrid/diracx/client-base:latest
platforms: linux/amd64,linux/arm64
Expand Down

0 comments on commit b9a9592

Please sign in to comment.