Skip to content

Commit

Permalink
Finish 0.40.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Arrow768 committed Nov 3, 2023
2 parents cdd8a16 + 28e1386 commit 6de5c8e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,23 @@ on:
push:
branches:
- 'main'
tags:
- '*.*.*'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set build tag
run: |
if [[ "$GITHUB_REF" == *"tags"* ]]; then
RELEASE_VERSION=${GITHUB_REF#refs/*/}
else
RELEASE_VERSION=latest
fi
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_ENV
echo "Building tag: $RELEASE_VERSION"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand All @@ -27,4 +39,6 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
tags: aurorastation/web-interface:latest
tags: ghcr.io/aurorastation/web-interface:${{ env.RELEASE_VERSION }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 6de5c8e

Please sign in to comment.