Run docker image as non-root user #708
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
# validate.yml | |
# Validates that Libation will build on a pull request or push to master. | |
--- | |
name: validate | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
docker: | |
uses: ./.github/workflows/docker.yml | |
with: | |
version: ${GITHUB_SHA} | |
release: false | |
secrets: | |
docker_username: ${{ secrets.DOCKERHUB_USERNAME }} | |
docker_token: ${{ secrets.DOCKERHUB_TOKEN }} |