Skip to content

Commit

Permalink
Merge pull request #1 from allmende/feat/ci
Browse files Browse the repository at this point in the history
Fix(CI): Restore image builds
  • Loading branch information
almereyda authored May 10, 2024
2 parents 92a2d72 + cae6d31 commit 60a6c75
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
name: Docker
name: Build/Push OCI image

on:
workflow_dispatch: # Allow manual run
pull_request:
branches:
- main
- next
push:
branches: ['main']
branches:
- next
release:
types: [published]
workflow_dispatch: # Allow manual run

jobs:
build_and_push:
build_push:
name: Build and push Docker image to Docker Hub or GHCR
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -49,8 +54,8 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
context: ./context/default/
platforms: linux/amd64 #,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 60a6c75

Please sign in to comment.