added ability to override test_type and env_type #35
This file contains hidden or 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: Docker Image CI | |
| on: | |
| create: | |
| tags: | |
| - '*' | |
| push: | |
| branches: [ mvn-latest ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - | |
| name: Login to DockerHub | |
| uses: docker/login-action@v1 | |
| with: | |
| username: ${{ secrets.DOCKER_LOGIN }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - | |
| name: Build | |
| run: | | |
| docker build -t getcarrier/gatling_maven_runner:latest . | |
| - | |
| name: Push | |
| run: | | |
| docker push getcarrier/gatling_maven_runner:latest |