Add .gitea/workflows/*.yaml
This commit is contained in:
@@ -64,24 +64,7 @@ jobs:
|
||||
with:
|
||||
name: image
|
||||
path: /tmp/image.tar
|
||||
|
||||
integration-tests:
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [build-image]
|
||||
steps:
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: image
|
||||
path: /tmp
|
||||
- name: Load image
|
||||
run: |
|
||||
docker load --input /tmp/image.tar
|
||||
docker image ls -a
|
||||
docker run -p 8143:8143 -d ${{ vars.IMAGE }}:${{ inputs.image-tag }}
|
||||
sleep 10
|
||||
curl --fail 'http://localhost:8143/'
|
||||
|
||||
|
||||
publish-image:
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [integration-tests, vulnerability-scan]
|
||||
|
||||
Reference in New Issue
Block a user