Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
chore:add-release-created-trigger-for-build (#16)
Browse files Browse the repository at this point in the history
* chore:add-release-created-trigger-for-build

* chore:rename-ci-checks-job
  • Loading branch information
P1sar authored Dec 15, 2022
1 parent 4882b5a commit 8a7ab7f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# Copyright 2021 ChainSafe Systems
# SPDX-License-Identifier: LGPL-3.0-only

name: CI

on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main

name: CI Checks
jobs:
build:
ci-checks:
strategy:
matrix:
go-version: [ 1.17.x ]
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@ name: Build and publish Docker image
on:
push:
branches:
# when main branch receives a push
- main

# when any of these versions receive a push
tags:
- "v*.*.*"
# when any releases are created
release:
types:
- created
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
Expand Down

0 comments on commit 8a7ab7f

Please sign in to comment.