Skip to content

Commit

Permalink
refact: docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
erfjab committed Oct 31, 2024
1 parent 1062423 commit ad42906
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Build

on:
push:
tags:
- 'v*'
branches:
- master

Expand Down Expand Up @@ -34,5 +36,14 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
erfjab/holderbot:latest
erfjab/holderbot:${{ github.sha }}
erfjab/holderbot:latest # Always latest stable release
erfjab/holderbot:${{ github.ref }} # Tag for the latest release
erfjab/holderbot:ga # For the latest commit (development mode)
erfjab/holderbot:${{ github.sha }} # Latest commit SHA
- name: Create GA Tag
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/')
run: |
echo "Creating GA tag for latest commit"
git tag ga
git push origin ga

0 comments on commit ad42906

Please sign in to comment.