Skip to content

Commit

Permalink
fix: docs and docker ci (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak authored Jul 15, 2024
1 parent cbbeacc commit 574f69e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Build Docker Image
on:
release:
types: [published]
permissions:
packages: write
env:
IMAGE: ghcr.io/${{ github.repository }}
jobs:
Expand Down Expand Up @@ -90,7 +92,7 @@ jobs:
working-directory: /tmp/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.IMAGE }}@sha256:%s ' *)
$(printf '${{ env.IMAGE }}@sha256:%s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.IMAGE }}:${{ steps.meta.outputs.version }}
10 changes: 4 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 16
uses: actions/setup-node@v4
- run: |
yarn
yarn docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v4
with:
path: ./docs
deploy:
Expand All @@ -30,4 +28,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit 574f69e

Please sign in to comment.