Upgrading versions
This commit is contained in:
parent
a1f96b91e2
commit
dddc4621fc
4 changed files with 34 additions and 10 deletions
24
.github/workflows/ci.yaml
vendored
24
.github/workflows/ci.yaml
vendored
|
|
@ -5,6 +5,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
- '**'
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
pull_request:
|
||||
|
|
@ -17,17 +18,40 @@ jobs:
|
|||
ci:
|
||||
name: CI
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Refresh module hashsums
|
||||
run: make tidy
|
||||
|
||||
- name: Generate token
|
||||
id: generate_token
|
||||
uses: tibdex/github-app-token@v1
|
||||
with:
|
||||
app_id: ${{ secrets.APP_ID }}
|
||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: snskArora
|
||||
password: ${{ secrets.grained_auth }}
|
||||
|
||||
- name: Build
|
||||
run: make build
|
||||
env:
|
||||
VERSION: latest
|
||||
|
||||
- name: Push
|
||||
run: make push
|
||||
env:
|
||||
VERSION: latest
|
||||
|
||||
- name: Test
|
||||
run: make test
|
||||
- name: Lint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue