Skip to content

Commit

Permalink
chore: implement job to publish images
Browse files Browse the repository at this point in the history
  • Loading branch information
NickChecan committed Oct 12, 2024
1 parent 3cfc93c commit df7fbb4
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,25 @@ jobs:
VARIANT: ${{ matrix.variant.VERSION }}
run: test/${{ matrix.variant.IMAGE }}/test.sh

# publish:
# name: Publish images
# runs-on: ubuntu-latest
# needs:
# - setup
# - test
# strategy:
# matrix:
# variant: ${{ fromJson(needs.setup.outputs.matrix) }}
# fail-fast: false
# steps:
publish:
name: Publish images
runs-on: ubuntu-latest
needs:
- setup
- test
strategy:
matrix:
variant: ${{ fromJson(needs.setup.outputs.matrix) }}
fail-fast: false
steps:

- name: Build devcontainer
run: |
echo "starting devcontainer build..."
devcontainer build \
--workspace-folder dist/${{ matrix.variant.IMAGE }}/${{ matrix.variant.VERSION }}/ \
--image-name ghcr.io/The-Nefarious-Developer/${{ matrix.variant.IMAGE }}:${{ matrix.variant.VERSION }} \
# --no-cache true
# - name: Checkout
# uses: actions/checkout@v4
Expand Down

0 comments on commit df7fbb4

Please sign in to comment.