Update basket-api.yml

This commit is contained in:
Pantalones411 2021-03-16 11:11:39 -05:00 committed by GitHub
parent 729f9efd48
commit f5cdecd1b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,16 @@
name: basket-api
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
# Friendly description to be shown in the UI instead of 'name'
description: 'exec name'
# Default value if no value is explicitly provided
default: 'default execution'
# Input has to be provided for the workflow to run
required: false
push:
branches:
- dev
@ -89,4 +99,4 @@ jobs:
run: |
docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }}
docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }}
shell: bash
shell: bash