Add .gitea/workflows/*.yaml
This commit is contained in:
@@ -71,7 +71,7 @@ jobs:
|
||||
with:
|
||||
name: image
|
||||
path: /tmp/image.tar
|
||||
retention-days: 2
|
||||
retention-days: 1
|
||||
|
||||
integration-tests:
|
||||
runs-on: ubuntu-22.04
|
||||
@@ -121,7 +121,7 @@ jobs:
|
||||
with:
|
||||
name: trivy-results
|
||||
path: /tmp/trivy-results.json
|
||||
retention-days: 2
|
||||
retention-days: 1
|
||||
|
||||
publish-image:
|
||||
runs-on: ubuntu-22.04
|
||||
@@ -143,4 +143,8 @@ jobs:
|
||||
- name: Push Docker image
|
||||
run: |
|
||||
docker image ls -a
|
||||
docker push ${{ inputs.image-name }}:${{ inputs.image-tag }}
|
||||
docker push ${{ inputs.image-name }}:${{ inputs.image-tag }}
|
||||
- name: Clean Docker image on Host
|
||||
run: |
|
||||
docker rmi ${{ inputs.image-name }}:${{ inputs.image-tag }}
|
||||
docker image ls -a
|
||||
Reference in New Issue
Block a user