Skip to content

Commit acf37ee

Browse files
committed
Fix GitHub Actions
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 349aa8b commit acf37ee

File tree

3 files changed

+7
-34
lines changed

3 files changed

+7
-34
lines changed

.github/workflows/docker.yml renamed to .github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Docker Build
1+
name: build
22

33
on:
44
push:
55
branches:
66
- "*"
7-
push_request:
7+
pull_request:
88
branches:
99
- "*"
1010

.github/workflows/go.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/docker-tagged.yml renamed to .github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docker Tagged Build
1+
name: publish
22

33
on:
44
push:
@@ -40,7 +40,7 @@ jobs:
4040
with:
4141
platforms: linux/amd64,linux/arm/v7,linux/arm64
4242
push: true
43-
tags: ghcr.io/openfaas/nats-connector:${{ steps.get_tag.outputs.TAG }}
44-
45-
- name: Image digest
46-
run: echo ${{ steps.docker_build.outputs.digest }}
43+
tags: |
44+
ghcr.io/openfaas/nats-connector:${{ github.sha }}
45+
ghcr.io/openfaas/nats-connector:${{ steps.get_tag.outputs.TAG }}
46+
ghcr.io/openfaas/nats-connector:latest

0 commit comments

Comments
 (0)