This repository has been archived by the owner on Jul 20, 2024. It is now read-only.
Update azul/zulu-openjdk-alpine Docker tag to v21 #19
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: test | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- .github/workflows/test.yaml | |
- Dockerfile | |
- gitbucket.sh | |
tags: | |
- v* | |
pull_request: | |
branches: | |
- master | |
paths: | |
- .github/workflows/test.yaml | |
- Dockerfile | |
- gitbucket.sh | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
timeout-minutes: 2 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: docker buildx build -t gitbucket . | |
- run: docker run -d -p 8080:8080 --name gitbucket gitbucket | |
- run: | | |
while ! curl -v localhost:8080; do | |
sleep 5 | |
done | |
- run: docker stop gitbucket | |
- run: docker logs gitbucket |