Skip to content

Commit

Permalink
feat: build and default to heroku-24 based image
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Aug 19, 2024
1 parent ddb2042 commit a002e39
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
heroku:
- 20
- 22
- 24

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -113,6 +114,7 @@ jobs:
heroku:
- 20
- 22
- 24

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: release
on:
push:
tags:
- '*'
- "*"

jobs:
build:
Expand All @@ -17,6 +17,7 @@ jobs:
heroku:
- 20
- 22
- 24

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
buildx:
- "false"
heroku:
- 22
- 24

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- name: download packages
uses: actions/download-artifact@v4
with:
name: build-22-false
name: build-24-false
path: build

- name: Login to DockerHub
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ build: bindata.go
build/docker:
$(MAKE) build/docker/20 STACK_VERSION=20
$(MAKE) build/docker/22 STACK_VERSION=22
$(MAKE) build/docker/24 STACK_VERSION=24

build/docker/$(STACK_VERSION): bindata.go
ifeq ($(BUILDX),true)
Expand Down Expand Up @@ -128,6 +129,7 @@ clean:
deps: bindata.go
docker pull heroku/heroku:20-build
docker pull heroku/heroku:22-build
docker pull heroku/heroku:24-build
cd / && go get -u github.com/progrium/basht/...
$(MAKE) bindata.go
go get || true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A command line tool for emulating Heroku build and runtime tasks in containers.

Herokuish is made for platform authors. The project consolidates and decouples Heroku compatibility logic (running buildpacks, parsing Procfile) and supporting workflow (importing/exporting slugs) from specific platform images like those in Dokku/Buildstep, Deis, Flynn, etc.

The goal is to be the definitive, well maintained and heavily tested Heroku emulation utility shared by all. It is based on the [Heroku:20, and Heroku:22 system images](https://github.com/heroku/stack-images). Together they form a toolkit for achieving Heroku compatibility.
The goal is to be the definitive, well maintained and heavily tested Heroku emulation utility shared by all. It is based on the [Heroku:20, Heroku:22, and Heroku:24 system images](https://github.com/heroku/stack-images). Together they form a toolkit for achieving Heroku compatibility.

Herokuish is a community project and is in no way affiliated with Heroku.

Expand Down
4 changes: 2 additions & 2 deletions contrib/post-install
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ fi

VERSION=$(cat /var/lib/herokuish/VERSION)

sudo docker pull "gliderlabs/herokuish:v${VERSION}-22"
sudo docker tag "gliderlabs/herokuish:v${VERSION}-22" gliderlabs/herokuish:latest-22
sudo docker pull "gliderlabs/herokuish:v${VERSION}-24"
sudo docker tag "gliderlabs/herokuish:v${VERSION}-24" gliderlabs/herokuish:latest-24

0 comments on commit a002e39

Please sign in to comment.