Compare commits

...

1 Commits

Author SHA1 Message Date
Taylor McKinnon b0f4210001 mod workflow to build dev images
(cherry picked from commit aef28782a39f1a0dc060e7e27c92f6dfff35ffb8)
2023-01-30 10:25:23 -05:00
1 changed files with 20 additions and 20 deletions

View File

@ -1,12 +1,12 @@
--- ---
name: release name: release
on: on: push
workflow_dispatch: # workflow_dispatch:
inputs: # inputs:
tag: # tag:
description: 'Tag to be released' # description: 'Tag to be released'
required: true # required: true
jobs: jobs:
build-federation-image: build-federation-image:
@ -15,21 +15,21 @@ jobs:
with: with:
push: true push: true
registry: registry.scality.com registry: registry.scality.com
namespace: ${{ github.event.repository.name }} namespace: ${{ github.event.repository.name }}-dev
name: ${{ github.event.repository.name }} name: ${{ github.event.repository.name }}
context: . context: .
file: images/svc-base/Dockerfile file: images/svc-base/Dockerfile
tag: ${{ github.event.inputs.tag }}-svc-base tag: ${{ github.sha }}-svc-base
github-release: # github-release:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- name: Create Release # - name: Create Release
uses: softprops/action-gh-release@v1 # uses: softprops/action-gh-release@v1
env: # env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: # with:
name: Release ${{ github.event.inputs.tag }} # name: Release ${{ github.event.inputs.tag }}
tag_name: ${{ github.event.inputs.tag }} # tag_name: ${{ github.event.inputs.tag }}
generate_release_notes: true # generate_release_notes: true
target_commitish: ${{ github.sha }} # target_commitish: ${{ github.sha }}