Skip to content

Commit

Permalink
try updating action-gh-release - attempting to fix a tag not found issue
Browse files Browse the repository at this point in the history
  • Loading branch information
d-honeybadger committed Aug 15, 2024
1 parent 367d336 commit e1dd7b2
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ env:
DOCKER_USER: ${{ secrets.DockerHubUser }}

on:
# push:
# tags-ignore:
# # The tags below are for Kubernetes <1.14 which are not supported by the
# # upstream end-to-end tests and are not actively maintained anymore.
# - v0.*
# - v1.0.*
push:
tags-ignore:
# The tags below are for Kubernetes <1.14 which are not supported by the
# upstream end-to-end tests and are not actively maintained anymore.
- v0.*
- v1.0.*
branches:
- dkomsa/debug-release-gha

jobs:
release:
Expand All @@ -37,24 +40,25 @@ jobs:
with:
fetch-depth: 1

- name: Log into container registry
run: echo "${{ secrets.DockerHubToken }}" | docker login --username ${DOCKER_USER} --password-stdin
# - name: Log into container registry
# run: echo "${{ secrets.DockerHubToken }}" | docker login --username ${DOCKER_USER} --password-stdin

# Rebuild plugin instead of just promoting the latest :master image so
# that the right version is correctly baked into the release via the -X
# flag.
- name: Build and push released plugin image
run: |
VERSION="$(git describe --tags)"
DOCKER_REPO=${DOCKER_ORG}/do-csi-plugin make publish
# # Rebuild plugin instead of just promoting the latest :master image so
# # that the right version is correctly baked into the release via the -X
# # flag.
# - name: Build and push released plugin image
# run: |
# VERSION="$(git describe --tags)"
# DOCKER_REPO=${DOCKER_ORG}/do-csi-plugin make publish

- name: create Github release
uses: softprops/action-gh-release@b7e450da2a4b4cb4bfbae528f788167786cfcedf # v0.1.5
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body: |
See the [change log](CHANGELOG.md) for release details.
Refer to the [installation instructions](README.md#installing-to-kubernetes) to learn how the CSI driver can be installed. (**Note:** The driver comes pre-installed already for [DOKS](https://www.digitalocean.com/products/kubernetes/) users.)
draft: false
draft: true
tag_name: v4.11.0

0 comments on commit e1dd7b2

Please sign in to comment.