Entrypoint permissions can be set on COPY (#211)

This commit is contained in:
Frederik Ring
2023-04-28 20:06:57 +02:00
committed by GitHub
parent 5b8a484d80
commit d4c5f65f31
2 changed files with 11 additions and 3 deletions

View File

@@ -11,10 +11,20 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker Image
env:
DOCKER_BUILDKIT: '1'
run: docker build . -t offen/docker-volume-backup:test
- name: Run Tests
working-directory: ./test
run: |
# Stop the buildx container so the tests can make assertions
# about the number of running containers
docker rm -f $(docker ps -aq)
export GPG_TTY=$(tty)
./test.sh test