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

Commit

Permalink
Merge branch 'main' into split-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
filariow authored Apr 8, 2024
2 parents b5ce164 + bdc6790 commit 38dc4d0
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ name: Build container images
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request_target:
types: [opened, syncronize, reopened, ready_for_review]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

env:
GO_VERSION: 1.22

jobs:
build:
Expand All @@ -21,7 +24,7 @@ jobs:
steps:
- name: Checkout Git Repository
uses: actions/checkout@v4
if: ${{ github.event_name == 'pull_request_target' }}
if: ${{ github.event_name == 'pull_request' }}
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand All @@ -33,6 +36,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: false

- name: Determine image tag
id: tag
run: |
Expand Down

0 comments on commit 38dc4d0

Please sign in to comment.