Skip to content

Commit

Permalink
[WIP] Use config script in edge build
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Oct 20, 2024
1 parent c494fb8 commit d0ac4ed
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,21 @@ jobs:
pandoc/minimal
ghcr.io/pandoc/minimal
- name: 'pandoc/minimal:edge-alpine'
- name: Config minimal
id: config-minimal
run: |
./scripts/config.sh main alpine pandoc/minimal >> $GITHUB_OUTPUT
- name: minimal
uses: docker/build-push-action@v6
with:
context: '.'
file: 'edge/alpine/Dockerfile'
labels: ${{ steps.meta-minimal.outputs.labels }}
platforms: linux/amd64,linux/arm64
push: ${{ env.PUSH_IMAGE }}
push: ${{ steps.config-minimal.outputs.tags }}
target: minimal
tags: |
pandoc/minimal:edge-alpine
ghcr.io/pandoc/minimal:edge-alpine
tags: steps.config-minimal.outputs.tags

- name: Meta for core
id: meta-core
Expand All @@ -77,17 +80,19 @@ jobs:
pandoc/core
ghcr.io/pandoc/core
- name: 'pandoc/core:edge-alpine'
- name: Config core
id: config-core
run: |
./scripts/config.sh main alpine pandoc/core \
>> $GITHUB_OUTPUT
- name: core
uses: docker/build-push-action@v6
with:
file: 'edge/alpine/Dockerfile'
labels: ${{ steps.meta-core.outputs.labels }}
platforms: linux/amd64,linux/arm64
push: ${{ env.PUSH_IMAGE }}
target: core
tags: |
pandoc/core:edge
pandoc/core:edge-alpine
ghcr.io/pandoc/core:edge
ghcr.io/pandoc/core:edge-alpine
tags: ${{ steps.config-core.outputs.tags }}

0 comments on commit d0ac4ed

Please sign in to comment.