You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/publish.yml
+5-32Lines changed: 5 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -1,60 +1,33 @@
1
-
#TODO:
1
+
#NOTES:
2
2
# 1. Create PAT with `read:packages` and `write:packages` see https://docs.github.com/en/free-pro-team@latest/packages/guides/migrating-to-github-container-registry-for-docker-images#authenticating-with-the-container-registry
3
3
# 2. Create CR_PAT variable under Settings / Secrets
4
4
5
5
name: BUILD Docker
6
6
7
7
on:
8
-
push:
9
-
10
-
# Publish `v1.2.3` tags as releases.
11
-
tags:
12
-
- v*
13
-
8
+
release:
9
+
types:
10
+
- created
14
11
15
12
env:
16
13
FETCHER_IMAGE_VERSION: 3.15.0
17
14
BASE_IMAGE_VERSION: commit-f2d623ca9d270c2ce8560d2ca0f9ce71b105aff2 # See https://hub.docker.com/r/gitpod/workspace-base/tags
18
-
19
-
# NOTE: DO NOT CHANGE THIS IS TMP IMAGE NAME
20
-
IMAGE_NAME: image
21
15
22
16
jobs:
23
-
# Run tests.
24
-
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
RUN wget -O- https://github.com/starship/starship/releases/download/${STARSHIP_VERSION}/starship-x86_64-unknown-linux-gnu.tar.gz | tar xvz -C /usr/local/bin/
36
34
RUN chmod +x /usr/local/bin/starship
37
35
36
+
# Terrraform https://github.com/starship/starship
37
+
RUN wget -O- https://github.com/starship/starship/releases/download/${STARSHIP_VERSION}/starship-x86_64-unknown-linux-gnu.tar.gz | tar xvz -C /usr/local/bin/
38
+
RUN chmod +x /usr/local/bin/starship
39
+
38
40
# Docker https://github.com/moby/moby
39
41
RUN wget -O- https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz | tar xvz -C /usr/local/bin/
0 commit comments