Update main.yml

This commit is contained in:
Logan Marchione 2022-04-02 16:46:17 -04:00 committed by GitHub
parent 1a668612d8
commit 18a481aefb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ jobs:
- name: Test image - name: Test image
run: | run: |
docker images docker images
docker run --name test-container --detach --env WEBDAV_USER=user1 --env WEBDAV_PASS=password1 --volume 'webdav:/var/www/webdav' ${USER}/${REPO}:${VERSION} docker run --name test-container --detach --env WEBDAV_USER=user --env WEBDAV_PASS=password1 --volume 'webdav:/var/www/webdav' ${USER}/${REPO}:${VERSION}
docker ps -a docker ps -a
- name: Container scan - name: Container scan
@ -83,4 +83,4 @@ jobs:
file: Dockerfile file: Dockerfile
tags: | tags: |
${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }} ${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }}
${{ env.USER }}/${{ env.REPO }}:latest ${{ env.USER }}/${{ env.REPO }}:latest