tangled
alpha
login
or
join now
whitequark.org
/
git-pages-cli
1
fork
atom
[mirror] Command-line application for uploading a site to a git-pages server
1
fork
atom
overview
issues
pulls
pipelines
Mirror containers to https://code.forgejo.org.
whitequark.org
3 months ago
06859b4d
f1283246
+17
-5
1 changed file
expand all
collapse all
unified
split
.forgejo
workflows
ci.yaml
+17
-5
.forgejo/workflows/ci.yaml
···
92
92
BUILDAH_ISOLATION: chroot
93
93
VER: ${{ startsWith(forge.event.ref, 'refs/tags/v') && forge.ref_name || 'latest' }}
94
94
- if: ${{ forge.repository == 'git-pages/git-pages-cli' }}
95
95
-
name: Push container
95
95
+
name: Push container to Codeberg
96
96
run: |
97
97
-
buildah login --authfile=/tmp/authfile.json \
98
98
-
-u ${{ vars.PACKAGES_USER }} -p ${{ secrets.PACKAGES_TOKEN }} codeberg.org
99
99
-
buildah manifest push --authfile=/tmp/authfile.json \
100
100
-
--all container:${VER} "docker://codeberg.org/${{ forge.repository }}:${VER/v/}"
97
97
+
buildah login --authfile=/tmp/authfile-${FORGE}.json \
98
98
+
-u ${{ vars.PACKAGES_USER }} -p ${{ secrets.PACKAGES_TOKEN }} ${FORGE}
99
99
+
buildah manifest push --authfile=/tmp/authfile-${FORGE}.json \
100
100
+
--all container:${VER} "docker://${FORGE}/${{ forge.repository }}:${VER/v/}"
101
101
env:
102
102
BUILDAH_ISOLATION: chroot
103
103
+
FORGE: codeberg.org
104
104
+
VER: ${{ startsWith(forge.event.ref, 'refs/tags/v') && forge.ref_name || 'latest' }}
105
105
+
- if: ${{ forge.repository == 'git-pages/git-pages-cli' }}
106
106
+
name: Push container to code.forgejo.org
107
107
+
run: |
108
108
+
buildah login --authfile=/tmp/authfile-${FORGE}.json \
109
109
+
-u ${{ vars.PACKAGES_USER }} -p ${{ secrets.CFO_PACKAGES_TOKEN }} ${FORGE}
110
110
+
buildah manifest push --authfile=/tmp/authfile-${FORGE}.json \
111
111
+
--all container:${VER} "docker://${FORGE}/${{ forge.repository }}:${VER/v/}"
112
112
+
env:
113
113
+
BUILDAH_ISOLATION: chroot
114
114
+
FORGE: code.forgejo.org
103
115
VER: ${{ startsWith(forge.event.ref, 'refs/tags/v') && forge.ref_name || 'latest' }}