Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinius committed May 3, 2023
1 parent 1be85a0 commit 8565891
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ jobs:
docker pull eoxa/eoxserver:latest || true
docker build --cache-from eoxa/eoxserver:latest -t eoxserver .
docker save eoxserver | gzip > eoxserver.tar.gz
# - uses: actions/upload-artifact@v3
# with:
# name: eoxserver
# path: eoxserver.tar.gz
# retention-days: 2
- name: Save image to cache
uses: actions/cache/save@v3
with:
Expand Down Expand Up @@ -64,9 +59,6 @@ jobs:
with:
path: eoxserver.tar.gz
key: eoxserver.tar.gz-${{ github.run_id }}-${{ github.run_number }}
# - uses: actions/download-artifact@v3.0.1
# with:
# name: eoxserver
- name: Import docker image and name it autotest
run: |
docker load --input eoxserver.tar.gz
Expand Down Expand Up @@ -107,9 +99,11 @@ jobs:
if: contains(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3.0.1
- uses: actions/cache/restore@v3
id: cache
with:
name: eoxserver
path: eoxserver.tar.gz
key: eoxserver.tar.gz-${{ github.run_id }}-${{ github.run_number }}
- name: Branch name
id: branch_name
run: |
Expand Down

0 comments on commit 8565891

Please sign in to comment.