Skip to content

Commit c88246e

Browse files
author
Rabih Salamey
committed
remove docker requirement, split out self-test
1 parent 924e498 commit c88246e

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,30 @@ on:
1313
- v**
1414

1515
jobs:
16-
build:
17-
name: Docker
16+
build-docker:
17+
name: Build docker image
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v3
21-
- name: Login to GitHub Container Registry
22-
uses: docker/login-action@v1
23-
with:
24-
username: ${{ github.repository_owner }}
25-
password: ${{ secrets.GITHUB_TOKEN }}
26-
registry: ghcr.io
2721
- name: Generate Docker meta names
2822
uses: docker/metadata-action@v3
2923
id: meta
3024
with:
31-
images: ghcr.io/${{ github.repository }}
25+
images: convictional/trigger-workflow-and-wait
3226
tags: |
3327
type=ref,event=tag
3428
type=raw,enable=${{ !startsWith(github.ref, 'refs/tags/') }},value=master
3529
- name: Build Docker image
3630
uses: docker/build-push-action@v2
3731
with:
38-
push: ${{ github.event_name != 'pull_request' }}
32+
push: false
3933
tags: ${{ steps.meta.outputs.tags }}
4034
labels: ${{ steps.meta.outputs.labels }}
4135
context: .
42-
- name: Test
36+
37+
self-test:
38+
- name: Run self-test
39+
runs-on: ubuntu-latest
4340
if: ${{ github.event_name == 'pull_request' }}
4441
uses: ./
4542
with:

0 commit comments

Comments
 (0)