Skip to content

Commit

Permalink
Update tool-Docker-action to v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nwiltsie committed Aug 15, 2024
1 parent 3f76aee commit 40963c7
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/Docker-build-release.yaml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/docker-build-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Update image in GHCR

run-name: >
${{
github.event_name == 'delete' && format(
'Delete `{0}{1}`',
github.event.ref_type == 'branch' && 'branch-' || '',
github.event.ref
)
|| github.ref == 'refs/heads/main' && 'Update `dev`'
|| format(
'Update `{0}{1}`',
!startsWith(github.ref, 'refs/tags') && 'branch-' || '',
github.ref_name
)
}} docker tag
on:
push:
branches-ignore: ['gh-pages']
tags: ['v*']
delete:

jobs:
push-or-delete-image:
runs-on: ubuntu-latest
name: Update GitHub Container Registry
permissions:
contents: read
packages: write
steps:
- uses: uclahs-cds/[email protected]
# Uncomment if you expect to use non-SemVer release tags
# with:
# non-semver-tags: true

0 comments on commit 40963c7

Please sign in to comment.