Skip to content

Commit

Permalink
[skip ci] Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0sh1dk authored and github-actions[bot] committed Dec 17, 2023
1 parent 7090b69 commit 25a9f0d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/autogen-test.yaml
Original file line number Diff line number Diff line change
@@ -1,37 +1,32 @@
name: gha-docker-image-exists Test

on:
workflow_dispatch:

jobs:
success:
runs-on: ubuntu-latest
steps:
- name: GHA Docker Image Exists
id: gha-docker-image-exists
continue-on-error: true
uses: Y0sh1dk/gha-docker-image-exists@feature/ci-testing-action-test
uses: Y0sh1dk/gha-docker-image-exists@main
with:
image: nginx:latest

- name: Check output
run: |
if [ ${{ steps.gha-docker-image-exists.outcome == 'success' }} ]; then
exit 0
else
exit 1
fi
fail:
runs-on: ubuntu-latest
steps:
- name: GHA Docker Image Exists
id: gha-docker-image-exists
continue-on-error: true
uses: Y0sh1dk/gha-docker-image-exists@feature/ci-testing-action-test
uses: Y0sh1dk/gha-docker-image-exists@main
with:
image: nginx:invalid-tag

- name: Check output
run: |
if [ ${{ steps.gha-docker-image-exists.outcome == 'failure' }} ]; then
Expand Down

0 comments on commit 25a9f0d

Please sign in to comment.