Skip to content

Re-add minor changes from the reverted http1-plog commit. #23

Re-add minor changes from the reverted http1-plog commit.

Re-add minor changes from the reverted http1-plog commit. #23

Workflow file for this run

#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
name: Release skupper-router
on:
push:
# Sequence of patterns matched against tags
# Right now, we run this job automatically when a semantically versioned
# tag is pushed.
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
name: Build and publish skupper-router image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get the tag name and set it as the DOCKER_TAG env variable.
run: |
echo "DOCKER_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Build and publish skupper-router image
run: |
export PROJECT_TAG="${DOCKER_TAG}"
export VERSION="${DOCKER_TAG}"
./.github/scripts/image.sh
env:
DOCKER_USER: '${{ secrets.DOCKER_USER }}'
DOCKER_PASSWORD: '${{ secrets.DOCKER_PASSWORD }}'
# Now that we have successfully pushed a tagged version of the skupper-router container
# we will create a draft release and add as much information to it as possible.
- name: Create Draft Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ env.DOCKER_TAG }}
body: |
The skupper-router is available as an image:
- quay.io/skupper/skupper-router:${{ env.DOCKER_TAG }}
Issues fixed in this release
- https://github.com/skupperproject/skupper-router/issues?q=is:issue%20milestone:${{ env.DOCKER_TAG }}
draft: true