Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1 from lsst-sqre/publish
Browse files Browse the repository at this point in the history
trivial change to test PR build
  • Loading branch information
athornton committed May 20, 2022
2 parents c372b1e + 445f4bd commit 9ffbf90
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
context: .
push: true
tags: |
lsstsqre/mobu:${{ steps.vars.outputs.tag }}
ghcr.io/lsst-sqre/mobu:${{ steps.vars.outputs.tag }}
lsstsqre/influx-bucket-mapper:${{ steps.vars.outputs.tag }}
ghcr.io/lsst-sqre/influx-bucket-mapper:${{ steps.vars.outputs.tag }}
cache-from: type=gha
cache-to: type=gha,mode=max
2 changes: 1 addition & 1 deletion bucketmapper
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import aiohttp

# InfluxDB2 defaults

DEFAULT_URL = "http://localhost:8086"
DEFAULT_ORG = "default"
DEFAULT_URL = "http://localhost:8086"

# Simple typealiases to represent InfluxDB v2 object fields
# Unless otherwise specified, they can be found at:
Expand Down
14 changes: 14 additions & 0 deletions scripts/docker-tag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

# Determine the tag for Docker images based on GitHub Actions environment
# variables.

set -eo pipefail

if [ -n "$GITHUB_HEAD_REF" ]; then
# For pull requests
echo ${GITHUB_HEAD_REF} | sed -E 's,/,-,g'
else
# For push events
echo ${GITHUB_REF} | sed -E 's,refs/(heads|tags)/,,' | sed -E 's,/,-,g'
fi

0 comments on commit 9ffbf90

Please sign in to comment.