gitea ci
All checks were successful
Deploy to git.carlpearson.net / Build & Publish 0.6.13 (push) Successful in 1m26s
All checks were successful
Deploy to git.carlpearson.net / Build & Publish 0.6.13 (push) Successful in 1m26s
Signed-off-by: Carl Pearson <pearson@Mac.local>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Deploy to GHCR
|
name: Deploy to git.carlpearson.net
|
||||||
|
|
||||||
# only run most recent workflow in branch
|
# only run most recent workflow in branch
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -11,12 +11,9 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-06:
|
build:
|
||||||
name: "Build & Publish 0.6.13"
|
name: "Build & Publish 0.6.13"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -24,7 +21,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Set Environment
|
- name: Set Environment
|
||||||
run: |
|
run: |
|
||||||
echo "SLUG=ghcr.io/cwpearson/cmake-format" >> $GITHUB_ENV
|
echo "SLUG=git.carlpearson.net/cwpearson/cmake-format" >> $GITHUB_ENV
|
||||||
echo "DATE=$(date +"%Y%m%d")" >> $GITHUB_ENV
|
echo "DATE=$(date +"%Y%m%d")" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
@@ -33,6 +30,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish to GHCR
|
- name: Publish to GHCR
|
||||||
run: |
|
run: |
|
||||||
echo '${{secrets.GHCR_TOKEN}}' | docker login ghcr.io -u cwpearson --password-stdin
|
echo '${{secrets.GIT_PASSWORD}}' | docker login git.carlpearson.net -u cwpearson --password-stdin
|
||||||
docker push "$SLUG:0.6.13"
|
docker push "$SLUG:0.6.13"
|
||||||
docker push "$SLUG:0.6"
|
docker push "$SLUG:0.6"
|
||||||
Reference in New Issue
Block a user