Skip to content

gha-docker-image-exists Test #10

gha-docker-image-exists Test

gha-docker-image-exists Test #10

Workflow file for this run

name: gha-docker-image-exists Test
on:
workflow_dispatch:
jobs:
valid-tag:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: gha-docker-image-exists valid tag
id: gha-docker-image-exists
continue-on-error: true
uses: Y0sh1dk/gha-docker-image-exists@feature/multi-arch-tests
with:
image: nginx:latest
- name: Check output
run: |
if [ ${{ steps.gha-docker-image-exists.outcome == 'success' }} ]; then
exit 0
else
exit 1
fi
invalid-tag:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: gha-docker-image-exists invalid tag
id: gha-docker-image-exists
continue-on-error: true
uses: Y0sh1dk/gha-docker-image-exists@feature/multi-arch-tests
with:
image: nginx:invalid-tag
- name: Check output
run: |
if [ ${{ steps.gha-docker-image-exists.outcome == 'failure' }} ]; then
exit 0
else
exit 1
fi