FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ionic-cli/.github/workflows/docker-image.yml at develop · ionic-team/ionic-cli · GitHub
ionic-team
ionic-cli
Repository navigation
Code
Issues
345
(345)
Pull requests
24
(24)
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
ionic-cli
/
.github
/
workflows
/
docker-image.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
28 lines (26 loc) · 1.02 KB
Breadcrumbs
ionic-cli
/
.github
/
workflows
/
docker-image.yml
Copy path
File metadata and controls
28 lines (26 loc) · 1.02 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name
:
BuildDockerImage
on
:
workflow_dispatch
jobs
:
build-docker-container
:
name
:
Build and Deploy Docker Container with latest CLI
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/setup-node@v3
with
:
node-version
:
16.x
-
uses
:
actions/checkout@v3
with
:
fetch-depth
:
0
-
name
:
GitHub Container Registry Login
run
:
echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
-
name
:
Build Container
run
:
|
docker build \
--build-arg IONIC_CLI_VERSION=$(npm info @ionic/cli dist-tags.latest) \
--tag ghcr.io/${{ github.repository }}:latest \
--tag ghcr.io/${{ github.repository}}:$(npm info @ionic/cli dist-tags.latest) \
.
-
name
:
Push Container as latest
run
:
docker push ghcr.io/${{ github.repository }}:latest
-
name
:
Push Container as version
run
:
docker push ghcr.io/${{ github.repository }}:$(npm info @ionic/cli dist-tags.latest)
Back
|
FazBrowse Home
|
New Git URL