Skip to content

Commit

Permalink
ci(build): build latest release version (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Feb 6, 2024
1 parent e06eae5 commit 883dead
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,17 @@ jobs:
sudo apt-get install -y qemu-user-static
- name: Get date tag
run: echo "DATE_TAG=$(date -uI)" >> "$GITHUB_ENV"
- name: Get SeaweedFS release ref
run: echo "SEAWEED_REF=$(gh release list --repo=seaweedfs/seaweedfs | head -n1 | column -t | cut -d ' ' -f 1)"
- name: Build container images and manifest
id: buildah-build
uses: redhat-actions/buildah-build@v2
with:
image: ${{ env.CI_IMG }}
archs: amd64, arm64
tags: ${{ github.ref_name }} ${{ github.ref == 'refs/heads/main' && 'latest' || '' }} ${{ env.DATE_TAG }}
build-args: |
ref=${{ env.SEAWEED_REF }}
containerfiles: |
./Dockerfile
- name: Push to quay.io
Expand Down

0 comments on commit 883dead

Please sign in to comment.