Bump golang from 1.22.4-alpine to 1.22.5-alpine #232
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Docker build | |
on: [pull_request] | |
jobs: | |
docker: | |
name: Docker | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: create secrets | |
run: | | |
mkdir secrets | |
printf "password" > secrets/postgres_password | |
printf "my_token_key" > secrets/auth_token_key | |
printf "my_cookie_key" > secrets/auth_cookie_key | |
- name: Start With Docker | |
run: | | |
docker build . --tag openslides-vote | |
timeout --preserve-status --signal=SIGINT 5s docker run --network host -v $PWD/secrets:/run/secrets openslides-vote | |
env: | |
DOCKER_BUILDKIT: 1 |