Skip to content

Commit

Permalink
use github tag for version
Browse files Browse the repository at this point in the history
  • Loading branch information
robkooper committed May 3, 2024
1 parent 81d2a01 commit 11231c0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,5 @@ jobs:
platforms: ${{ matrix.PLATFORM }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
VERSION=${{ steps.meta.outputs.version }}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [0.7.1] - 2024-05-03

### Changed
- set version number in docker based on tag

## [0.7.0] - 2024-05-03

### Fixed
Expand Down
3 changes: 2 additions & 1 deletion cdrhook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ FROM python:3.11
WORKDIR /app
EXPOSE 8080

ARG VERSION="unknown"
ENV PYTHONUNBUFFERED=1 \
SYSTEM_NAME="ncsa" \
SYSTEM_VERSION="0.3.0" \
SYSTEM_VERSION="${VERSION}" \
CDR_TOKEN="" \
CDR_KEEP_EVENT="no" \
CALLBACK_SECRET="this_is_a_really_silly_secret" \
Expand Down
5 changes: 3 additions & 2 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
SERVER_NAME="criticalmaas.ncsa.illinois.edu"

# system name and version
SYSTEM_NAME="ncsa"
SYSTEM_VERSION="0.3.0"
# set by default to NCSA and tag number
#SYSTEM_NAME="ncsa"
#SYSTEM_VERSION="0.3.0"

# email address for registration with letsencrypt
TRAEFIK_ACME_EMAIL="[email protected]"
Expand Down
10 changes: 0 additions & 10 deletions version.sh

This file was deleted.

0 comments on commit 11231c0

Please sign in to comment.