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