Skip to content

Commit

Permalink
feat: release latest and stable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson2427 committed Oct 10, 2024
1 parent ff047b8 commit efe76a9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
- name: Build and push latest
if: contains(steps.meta.outputs.tag, 'latest')
uses: docker/build-push-action@v4
with:
context: .
Expand All @@ -68,6 +69,18 @@ jobs:
build-args: |
BASE_APE_IMAGE_TAG=stable
- name: Build and push stable
if: contains(steps.meta.outputs.tag, 'stable')
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile.stable
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
BASE_APE_IMAGE_TAG=stable
- name: Fetch all tags and store them
run: |
# List all tags
Expand Down

0 comments on commit efe76a9

Please sign in to comment.