update workflow #10
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 Docker | |
on: | |
push: | |
branches: master | |
jobs: | |
docker-container: | |
name: Docker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Pull Latest Docker image | |
run: | | |
docker pull ghcr.io/nicconike/automatedgo:v2.0.3 | |
- name: Test Docker Container (Abort Download) | |
run: | | |
echo "no" | docker run --rm --name automatedgo-abort \ | |
ghcr.io/nicconike/automatedgo:master \ | |
--os linux \ | |
--arch amd64 | |
- name: Test Docker Container (Confirm Download) | |
run: | | |
echo "yes" | docker run --rm --name automatedgo-confirm \ | |
-v ${{ github.workspace }}:/automatedgo \ | |
ghcr.io/nicconike/automatedgo:master \ | |
--os linux \ | |
--arch amd64 |