Skip to content

Commit

Permalink
build container if test succeeds on main
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Sep 6, 2024
1 parent 72f5782 commit 21eea32
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: Go
name: Build

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22.4']

steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Build container

on:
#schedule:
# - cron: "0 10 * * *"
push:
workflow_run:
workflows:
- "Build"
branches:
- "main"
types:
- completed
push:
tags:
- "v*.*.*"

Expand Down

0 comments on commit 21eea32

Please sign in to comment.