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 #2682
  • Loading branch information
aschaber1 committed Apr 12, 2023
1 parent 7871773 commit a31aa62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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=$(git describe --tags)" >> $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 }}"
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

- Upgrade Dockerfile baseimage to Ubuntu 22.04 and Ruby 3.0
- Upgrade Ruby dependency to Ruby 3.0+
- Ensure Docker Builds are tagged with latest and version (using `git describe --tags`) (@aschaber1)
- Upgrade Dockerfile baseimage to Ubuntu 22.04 and Ruby 3.0 (@aschaber1)
- Upgrade Ruby dependency to Ruby 3.0+ (@aschaber1)
- model for PanOS & Panorama via HTTP API (@pv2b, @sts)
- model for MikroTik SwOS devicse (@sm-nessus)
- model for TrueNAS devices (@neilschelly)
Expand Down

0 comments on commit a31aa62

Please sign in to comment.