Skip to content

Commit

Permalink
use VERSION in the build file
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Carter <[email protected]>
  • Loading branch information
cloudnull committed Jan 11, 2024
1 parent 4c727b1 commit 6a66378
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-horizon-rxt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ on:
default: 'master'
type: choice
options:
- "master"
- "2023.1"
- "2023.2"
- "master"
- "2023.1"
- "2023.2"

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
Expand Down Expand Up @@ -57,4 +57,4 @@ jobs:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/horizon-rxt:${{ github.event.inputs.release }}-ubuntu_jammy
labels: ${{ steps.meta.outputs.labels }}
build-args: |
RELEASE=${{ github.event.inputs.release }}
VERSION=${{ github.event.inputs.release }}
6 changes: 3 additions & 3 deletions Containerfiles/HorizonRXT-Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG RELEASE=master
FROM openstackhelm/horizon:${RELEASE}-ubuntu_jammy
RUN /var/lib/openstack/bin/pip install --constraint=https://releases.openstack.org/constraints/upper/${RELEASE} \
ARG VERSION=master
FROM openstackhelm/horizon:${VERSION}-ubuntu_jammy
RUN /var/lib/openstack/bin/pip install --constraint=https://releases.openstack.org/constraints/upper/${VERSION} \
heat-dashboard \
octavia-dashboard

0 comments on commit 6a66378

Please sign in to comment.