Skip to content

Commit

Permalink
feat: DEVOPS-700 scilla pipelines from jenkins to gha
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlops committed Jun 20, 2023
1 parent b280589 commit f1c48c5
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci-image-release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: CI - Release

on:
workflow_dispatch:
inputs:
commitOrTag:
description: 'Commit or tag'
required: false
default: ''
push:
tags:

Expand All @@ -24,7 +18,7 @@ jobs:
- name: Check if the tag head is the same as master head
id: check-latest
run: |
if test $(git rev-parse origin/devops-700) = $(git rev-parse HEAD); then
if test $(git rev-parse origin/master) = $(git rev-parse HEAD); then
echo "latest=true" >> $GITHUB_OUTPUT
else
echo "latest=false" >> $GITHUB_OUTPUT
Expand All @@ -46,9 +40,9 @@ jobs:
uses: Zilliqa/gh-actions-workflows/actions/ci-dockerized-app-build-push@v1
with:
file: docker/Dockerfile
push: false
push: true
tag: Zilliqa/scilla:${{ github.ref_name }}
tag-latest: ${{ github.ref_name == github.event.repository.default_branch }}
tag-latest: ${{ steps.check-latest.outputs.latest }}
cache-key: ${{ github.event.repository.name }}
registry-username: ${{ secrets.DOCKERHUB_USERNAME }}
registry-password: ${{ secrets.DOCKERHUB_PASSWORD }}

0 comments on commit f1c48c5

Please sign in to comment.