Skip to content

Commit

Permalink
Add latest tag. Remove Cron. Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickspizzas committed Aug 9, 2024
1 parent 36dbb4b commit 0221f37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ name: Docker
# documentation.

on:
schedule:
- cron: '24 0 * * *'
push:
branches: [ "master" ]
# Publish semver tags as releases.
Expand Down Expand Up @@ -75,12 +73,13 @@ jobs:
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
tags: |
${{ steps.meta.outputs.tags }}
${{ github.ref == 'refs/heads/master' && env.REGISTRY }}/{{ env.IMAGE_NAME }}:latest
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max


# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
# repository is public to avoid leaking data. If you would like to publish
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Docker image the contains utils for YAML and JSON processing.

## Usage

`docker run ghcr.io/linkyard/yaml:latest`
`docker run ghcr.io/linkyard/docker-yaml:latest`

0 comments on commit 0221f37

Please sign in to comment.