Skip to content

Bump eLco/setup-vault from 1.0.2 to 1.0.3 #2370

Bump eLco/setup-vault from 1.0.2 to 1.0.3

Bump eLco/setup-vault from 1.0.2 to 1.0.3 #2370

name: Test container on podman and Colima
on:
push:
branches:
- master
pull_request:
branches: [master]
workflow_dispatch:
permissions:
contents: read
jobs:
test-podman:
name: Test with podman
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: run container
run: |
podman run -dt -p 8080:8080 docker.io/jeroenwillemsen/wrongsecrets:latest-no-vault && \
echo "wait 20 seconds for container to come up" && sleep 20 && \
curl localhost:8080
test-colima:
name: Test with Colima
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
# when https://github.com/douglascamata/setup-docker-macos-action/pull/19 is merged and tagged, move to new version:
- uses: douglascamata/[email protected]
env:
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
- name: setup colima
run: |
echo "Colima version: ${{ steps.docker.outputs.colima-version }}"
- name: test if container comes up
run: |
docker run -d -p 8080:8080 jeroenwillemsen/wrongsecrets:latest-no-vault && \
echo "wait 40 seconds for container to come up" && sleep 40 && \
curl localhost:8080