ubirch-test-webserver
TODO
Here the list of things that need to be done to use this project as a template/example per organization:
- Create technical GitHub admin user that will be able to push changes to the protected main branch
- Generate token for this user and put it to the GitHub secrets
- Use this secret in build.yml file instead of
TOKEN_DENIS
steps: - uses: actions/checkout@v2 with: token: ${{ secrets.TOKEN_DENIS }}
- Replace docker.io registry credentials in build.yml and build-unstable.yml files:
- name: Login to DockerHub uses: docker/login-action@v1 with: registry: docker.io username: behoof4mind password: ${{ secrets.DOCKERHUB_TOKEN }}
- Change docker and Java libraries repositories in pom.xml:
...
<configuration>
<buildDirectory>${project.build.outputDirectory}</buildDirectory>
<repository>docker.io/behoof4mind/ubirch-test-web-server</repository>
<tag>${project.version}</tag>
<buildArgs>
<VERSION>${project.version}</VERSION>
<BUILD>${build.number}</BUILD>
...
- Change Maintainer in Dockerfile
- Create based on this or in another project templates for GitHub actions on organizational level Sharing workflows with your organization