Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/razonyang/github-action-docker-image-tag-exists
GitHub Action to check if specific Docker image tag exists.
https://github.com/razonyang/github-action-docker-image-tag-exists
Last synced: 14 days ago
JSON representation
GitHub Action to check if specific Docker image tag exists.
- Host: GitHub
- URL: https://github.com/razonyang/github-action-docker-image-tag-exists
- Owner: razonyang
- License: mit
- Created: 2024-06-26T08:57:00.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-26T11:25:36.000Z (5 months ago)
- Last Synced: 2024-10-28T05:57:09.261Z (16 days ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Action to Check if Docker Image Tag Exists
## Usage
```yaml
on: [push]jobs:
check_docker_image_tag:
runs-on: ubuntu-latest
steps:
- id: check-docker-image-tag # used by other steps.
uses: razonyang/github-action-docker-image-tag-exists@v1
with:
owner: hugomods
name: hugo
tag: '0.128.0'
- if: ${{ steps.check-docker-image-tag.outputs.exists == true }}
run: echo "image tag exists"
- if: ${{ steps.check-docker-image-tag.outputs.exists != true }}
run: echo "image tag does not exist"
```