Skip to content

Commit

Permalink
demo: add a sleep
Browse files Browse the repository at this point in the history
debug

Signed-off-by: Guillaume Abrioux <[email protected]>
  • Loading branch information
guits committed Aug 8, 2023
1 parent bc89091 commit 303cff8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ jobs:
- name: checkout
uses: actions/checkout@v2

- name: list pkg
run: sudo dpkg -l | grep -i moby
- name: list pkg
run: sudo dpkg -l | grep -i docker

- name: rm docker
run: sudo apt-get remove moby-cli moby-engine moby-buildx moby-compose moby-runc moby-containerd && sudo apt-get install -y podman-docker

- name: setup qemu-static-user
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

Expand All @@ -44,6 +52,6 @@ jobs:
- name: debug on failure
if: ${{ failure() }}
run: |
docker images
docker ps
docker ps -a
podman images
podman ps
podman ps -a
5 changes: 5 additions & 0 deletions src/demo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@

build:
@echo === docker build $(DEMO_IMAGE)
@echo running cmd: sleep 30
@sleep 30
@echo running cmd: docker images
@docker images
@echo running cmd: docker build $(BUILD_ARGS) -t $(DEMO_IMAGE) .
@docker build $(BUILD_ARGS) -t $(DEMO_IMAGE) .

push: ; @docker push $(DEMO_IMAGE)
Expand Down

0 comments on commit 303cff8

Please sign in to comment.