Skip to content

Commit

Permalink
ci: speed up lava release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Dafnik committed Jun 17, 2024
1 parent 3ab5650 commit e5e7830
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/build-lava.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- '*.*.*-lava-*'

jobs:
build:
build-local:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
Expand Down Expand Up @@ -43,6 +43,29 @@ jobs:
ghcr.io/datepollsystems/waiterrobot-web:${{ steps.version.outputs.version }}_local
ghcr.io/datepollsystems/waiterrobot-web:latest-lava_local
build-lava:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

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

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract version
id: version
# 3.4.0-lava-12345 -> 3.4.0-lava
run: |
VERSION=${{ github.ref_name }}
echo "version=${VERSION%-*}" >> "$GITHUB_OUTPUT"
- name: Build and push Docker lava-lava image
uses: docker/build-push-action@v5
with:
Expand Down
Empty file modified tools/release.sh
100644 → 100755
Empty file.

0 comments on commit e5e7830

Please sign in to comment.