-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add image for releasing Pony related Emacs modes (#66)
- Loading branch information
1 parent
d625764
commit 6e3a6b7
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM alpine:3.18 | ||
|
||
RUN apk add --update --no-cache \ | ||
bash \ | ||
git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# emacs-mode-release | ||
|
||
Simple image with the tools needed to do a release of our Pony related Emacs modes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit | ||
set -o nounset | ||
|
||
# | ||
# *** You should already be logged into GitHub Container Registry | ||
# when you run this *** | ||
# | ||
|
||
NAME="ponylang/shared-docker-ci-emacs-mode-release" | ||
TODAY=$(date +%Y%m%d) | ||
DOCKERFILE_DIR="$(dirname "$0")" | ||
|
||
NAME="ghcr.io/${NAME}" | ||
docker build --pull -t "${NAME}:${TODAY}" "${DOCKERFILE_DIR}" | ||
docker push "${NAME}:${TODAY}" |