Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yordanovsstoyan committed Jun 19, 2024
1 parent 420ef8a commit 2a8bd30
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CI

on:
push:
branches: [main]
tags: ["v[0-9]+.[0-9]+.[0-9]+"]
pull_request:
branches: [main]
# branches: [main]
# tags: ["v[0-9]+.[0-9]+.[0-9]+"]
# pull_request:
# branches: [main]

jobs:
backend:
Expand Down Expand Up @@ -100,8 +100,26 @@ jobs:
env:
image: bakdata/streams-explorer
steps:
- name: Configure Docker
env:
DOCKER_CLI_EXPERIMENTAL: enabled
uses: crazy-max/ghaction-setup-docker@v2
with:
version: v24.0.6
daemon-config: |
{
"features": {
"containerd-snapshotter": true
}
}
- name: Setup Qemu
uses: docker/setup-qemu-action@v3
with:
platforms: ${{ inputs.platforms }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Docker meta
id: meta
Expand All @@ -120,8 +138,9 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build & Push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 2a8bd30

Please sign in to comment.