-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Trishank Karthik Kuppusamy <[email protected]>
- Loading branch information
1 parent
6d43cdd
commit 88d7b1b
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,15 @@ jobs: | |
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build and push RELEASE and LATEST Docker images | ||
- name: Inject slug/short variables | ||
uses: rlespinasse/[email protected] | ||
|
||
- name: Build and push master/tag and latest Docker images | ||
uses: docker/[email protected] | ||
if: ${{ github.event_name == 'push' || github.event_name == 'release' }} | ||
with: | ||
repository: cnabio/signy-in-toto-verifier | ||
tags: ${{ github.ref}}, latest | ||
tags: ${{ env.GITHUB_REF_SLUG }}, latest | ||
dockerfile: in-toto-container.Dockerfile | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|