Github action to push the stable image will now also push with the tag of the git revision
@@ -25,10 +25,15 @@ jobs:
- name: build
run: |
skipper make build
+ skipper make update_revision_file
+ - name: Get release version
+ id: get_version
+ run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_SHA})
- name: Publish to Registry
- uses: elgohr/Publish-Docker-Github-Action@2.14
+ uses: elgohr/Publish-Docker-Github-Action@2.15
with:
- name: bm-inventory:stable
+ name: bm-inventory
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
REGISTRY: 'quay.io/ocpmetal'
+ tags: "stable,${{ env.RELEASE_VERSION }}"
