build version check
Some checks failed
Build and Push Version Check Action / build (push) Failing after 4m33s
Some checks failed
Build and Push Version Check Action / build (push) Failing after 4m33s
This commit is contained in:
25
.gitea/workflows/build-version-check.yml
Normal file
25
.gitea/workflows/build-version-check.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Build and Push Version Check Action
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- version-check/**
|
||||
- .gitea/workflows/build-version-check.yml
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build -t git.cyborggrizzly.com/BearMetal/ci-actions/version-check:latest ./version-check
|
||||
|
||||
- name: Log in to Gitea registry
|
||||
run: |
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.cyborggrizzly.com -u ${{ secrets.REGISTRY_USER }} --password-stdin
|
||||
|
||||
- name: Push to registry
|
||||
run: |
|
||||
docker push git.cyborggrizzly.com/BearMetal/ci-actions/version-check:latest
|
Reference in New Issue
Block a user