Changed Request Mapping to use jhson configuration file #25
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: Porter Invocation Docker Image CD | |
on: | |
push: | |
branches: [ dev ] | |
workflow_dispatch: | |
jobs: | |
porter-cd: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- run: 'echo "COMPOSE_PROJECT_NAME=pas_porter" >> .env; echo "PORTER_ALLOW_DOCKER_HOST_ACCESS=true" >> .env' | |
shell: bash | |
- name: Install Porter | |
run: curl -L https://cdn.porter.sh/canary/install-linux.sh | bash | |
- name: Set Porter path | |
run: echo "~/.porter" >> $GITHUB_PATH | |
- name: Install Porter Mixins | |
run: porter mixins install docker; porter mixins install docker-compose | |
- name: Build Invocation Image | |
run: porter build | |
- name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: Publish Invocation Image | |
run: porter publish --tag current |