Skip to content

Commit

Permalink
build(GitHubAction/publishdocker): update the publish to registry act…
Browse files Browse the repository at this point in the history
…ion to latest version and tag releases with digests

Closes #2713
  • Loading branch information
aschaber1 committed Apr 12, 2023
1 parent 7871773 commit 97592e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publishdocker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
- uses: actions/checkout@master
- name: Get Release Version
id: get_version
run: echo name=RELEASE_VERSION::$(echo ${GITHUB_REF:10}) >> $GITHUB_STATE
run: echo "release-version=$(echo ${GITHUB_REF:10})" >> $GITHUB_OUTPUT
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: oxidized/oxidized
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ env.STATE_RELEASE_VERSION }}"
tags: "latest,${{ steps.get_version.outputs.release-version }}"

0 comments on commit 97592e2

Please sign in to comment.