| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,3 +32,18 @@ jobs: | |||
| 32 | 32 | GIT_AUTHOR_EMAIL: hi@ionicframework.com | |
| 33 | 33 | GIT_COMMITTER_NAME: Ionitron | |
| 34 | 34 | GIT_COMMITTER_EMAIL: hi@ionicframework.com | |
| 35 | + - name: GitHub Container Registry Login | ||
| 36 | + run: echo ${GH_TOKEN} | docker login ghcr.io -u ionitron --password-stdin | ||
| 37 | + env: | ||
| 38 | + GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
| 39 | + - name: Build Container | ||
| 40 | + run: | | ||
| 41 | + docker build \ | ||
| 42 | + --build-arg IONIC_CLI_VERSION=$(npm info @ionic/cli dist-tags.latest) \ | ||
| 43 | + --tag ghcr.io/${{ github.repository }}:latest \ | ||
| 44 | + --tag ghcr.io/${{ github.repository}}:$(npm info @ionic/cli dist-tags.latest) \ | ||
| 45 | + . | ||
| 46 | + - name: Push Container as latest | ||
| 47 | + run: docker push ghcr.io/${{ github.repository }}:latest | ||
| 48 | + - name: Push Container as version | ||
| 49 | + run: docker push ghcr.io/${{ github.repository }}:$(npm info @ionic/cli dist-tags.latest) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments