Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
axelpontetto committed Aug 22, 2024
1 parent f03fe6e commit 5096fd5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci_with_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:

jobs:
docker:
env:
DOCKER_BUILD_RECORD_UPLOAD: false
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
Expand Down Expand Up @@ -40,3 +42,19 @@ jobs:
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
use:
runs-on: ubuntu-latest
needs: docker
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: api base test image
path: /tmp

- name: Load image
run: |
docker load --input /tmp/api_base_test_image.tar
docker image ls -a
- name: Run container
run: docker run -p 3000:3000 api_base/test:latest echo "Hello, world!"

0 comments on commit 5096fd5

Please sign in to comment.