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:
35
.gitea/workflows/0.6.13.yml
Normal file
35
.gitea/workflows/0.6.13.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Deploy to git.carlpearson.net
|
||||
|
||||
# only run most recent workflow in branch
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "Build & Publish 0.6.13"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
name: Checkout
|
||||
|
||||
- name: Set Environment
|
||||
run: |
|
||||
echo "SLUG=git.carlpearson.net/cwpearson/cmake-format" >> $GITHUB_ENV
|
||||
echo "DATE=$(date +"%Y%m%d")" >> $GITHUB_ENV
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
docker build -f cmake-format-0.6.13.dockerfile -t "$SLUG:0.6.13" -t "$SLUG:0.6" .
|
||||
|
||||
- name: Publish to GHCR
|
||||
run: |
|
||||
echo '${{secrets.GIT_PASSWORD}}' | docker login git.carlpearson.net -u cwpearson --password-stdin
|
||||
docker push "$SLUG:0.6.13"
|
||||
docker push "$SLUG:0.6"
|
||||
Reference in New Issue
Block a user