Skip to content

pullImage param is added to main.yml #18

pullImage param is added to main.yml

pullImage param is added to main.yml #18

Workflow file for this run

name: "Github Action Test"
on: [push]
jobs:
integration-test:
name: Action Integration Test
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Test Stack Creation
uses: ./
with:
url: ${{ secrets.PORTAINER_URL }}
username: ${{ secrets.PORTAINER_USERNAME }}
password: ${{ secrets.PORTAINER_PASSWORD }}
environment_id: 6
stack_name: portainer-stack-deployment-test
stack_file_path: teststack.yml.mustache
mustache_variables: '{"image":"hello-world"}'
- name: Test Stack Deletion
uses: ./
with:
url: ${{ secrets.PORTAINER_URL }}
username: ${{ secrets.PORTAINER_USERNAME }}
password: ${{ secrets.PORTAINER_PASSWORD }}
environment_id: 6
stack_name: portainer-stack-deployment-test
stack_file_path: teststack.yml.mustache
mustache_variables: '{"image":"hello-world"}'
delete: true
pullImage: true