Skip to content

Commit

Permalink
explicitly check for push event
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 committed Aug 24, 2023
1 parent 4dc1c82 commit c606d29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/spacebar-client-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
context: "{{defaultContext}}:spacebar-client/"
platforms: linux/amd64
file: Dockerfile
push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.event_name == 'push' }}
tags: spacebarchat/client:latest-amd64
provenance: false
- name: Create and push manifest images
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: spacebarchat/client:latest
images: spacebarchat/client:latest-amd64
push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.event_name == 'push' }}
amend: true

# build-arm64:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/spacebar-server-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,30 +31,30 @@ jobs:
context: "{{defaultContext}}:spacebar-server/"
platforms: linux/amd64
file: Dockerfile-prod
push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.event_name == 'push' }}
tags: spacebarchat/server:latest-postgressql-amd64
provenance: false
- name: Build and push with sqlite
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:spacebar-server/"
file: Dockerfile
push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.event_name == 'push' }}
tags: spacebarchat/server:latest-sqlite-amd64
provenance: false
- name: Create and push manifest images postgressql
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: spacebarchat/server:latest-postgressql
images: spacebarchat/server:latest-postgressql-amd64
push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.event_name == 'push' }}
amend: true
- name: Create and push manifest images sqlite
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: spacebarchat/server:latest-sqlite
images: spacebarchat/server:latest-sqlite-amd64
push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.event_name == 'push' }}
amend: true

# build-arm64:
Expand Down

0 comments on commit c606d29

Please sign in to comment.