File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Update latest images
33on :
44 repository_dispatch :
55 types :
6- - ponyc-musl- nightly-released
6+ - ponyc-nightly-image-pushed
77 workflow_dispatch :
88 push :
99 branches :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Update release images
33on :
44 repository_dispatch :
55 types :
6- - ponyc-musl-released
6+ - ponyc-release-image-pushed
77 workflow_dispatch :
88 push :
99 branches :
7676
7777 build-public-specific-version-image :
7878 if : |
79- github.event.action == 'ponyc-musl-released '
79+ github.event.action == 'ponyc-release-image-pushed '
8080
8181 name : Build public image for just released version
8282 runs-on : ubuntu-latest
@@ -110,7 +110,7 @@ jobs:
110110
111111 build-private-specific-version-image :
112112 if : |
113- github.event.action == 'ponyc-musl-released '
113+ github.event.action == 'ponyc-release-image-pushed '
114114
115115 name : Build private image for just released version
116116 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1- ARG FROM_TAG=release-alpine
1+ ARG FROM_TAG=release
22FROM ghcr.io/ponylang/ponyc:${FROM_TAG}
33
44ARG PACKAGE
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ endif
1717all : pylint
1818
1919build :
20- docker build --pull --build-arg PACKAGE=" ${PACKAGE} " --build-arg FROM_TAG=" ${version} -alpine " -t " ${IMAGE} :${version} " .
20+ docker build --pull --build-arg PACKAGE=" ${PACKAGE} " --build-arg FROM_TAG=" ${version} " -t " ${IMAGE} :${version} " .
2121
2222build-latest :
23- docker build --pull --build-arg PACKAGE=" ${PACKAGE} " --build-arg FROM_TAG=" alpine " -t " ${IMAGE} :latest" .
23+ docker build --pull --build-arg PACKAGE=" ${PACKAGE} " --build-arg FROM_TAG=" nightly " -t " ${IMAGE} :latest" .
2424
2525build-release :
26- docker build --pull --build-arg PACKAGE=" ${PACKAGE} " --build-arg FROM_TAG=" release-alpine " -t " ${IMAGE} :release" .
26+ docker build --pull --build-arg PACKAGE=" ${PACKAGE} " --build-arg FROM_TAG=" release" -t " ${IMAGE} :release" .
2727
2828push :
2929 docker push " ${IMAGE} :${version} "
You can’t perform that action at this time.
0 commit comments