Skip to content

Commit

Permalink
Merge pull request #225 from kreneskyp/publish_frontend_part2
Browse files Browse the repository at this point in the history
Another fix for publish workflows
  • Loading branch information
kreneskyp authored Sep 13, 2023
2 parents 197851f + 2122b17 commit 15d3384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 40 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# Load or build cached image
- name: Load image url
id: load_image_url
run: |
IMAGE_URL=`make image-url`
echo "image-url=$IMAGE_URL" >> "$GITHUB_OUTPUT"
- name: Restore Cache
uses: actions/cache@v2
id: restore_cache
with:
path: image.tar
key: ${{ steps.load_image_url.outputs.image-url }}
- name: load image
shell: bash
run: |
docker load --input image.tar
docker tag ${{ steps.load_image_url.outputs.image-url }} ghcr.io/kreneskyp/ix/sandbox:latest
# build javascript - Reuse the cached image from the CI workflow. A local image is needed for the
# command. It's faster to use the image that was already built.
# build javascript - This will build the image an extra time because it's needed locally
- name: run
shell: bash
env:
Expand Down
21 changes: 1 addition & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# Load or build cached image
- name: Load image url
id: load_image_url
run: |
IMAGE_URL=`make image-url`
echo "image-url=$IMAGE_URL" >> "$GITHUB_OUTPUT"
- name: Restore Cache
uses: actions/cache@v2
id: restore_cache
with:
path: image.tar
key: ${{ steps.load_image_url.outputs.image-url }}
- name: load image
shell: bash
run: |
docker load --input image.tar
docker tag ${{ steps.load_image_url.outputs.image-url }} ghcr.io/kreneskyp/ix/sandbox:latest
# build javascript - Reuse the cached image from the CI workflow. A local image is needed for the
# command. It's faster to use the image that was already built.
# build javascript - This will build the image an extra time because it's needed locally
- name: run
shell: bash
env:
Expand Down

0 comments on commit 15d3384

Please sign in to comment.