Merge pull request #24 from italia/security/fix-code-sec-vulnerabilities #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: Build and Publish Docker image | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
release: | |
types: [published] | |
jobs: | |
push_to_registry: | |
name: Build and Publish Docker image (via Makefile) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Build Docker Image | |
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin && make release | |