You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relevant actions/checkout logs for the branch info:
Checking out the ref
/usr/bin/git checkout --progress --force -B banner-utils-test-#5 refs/remotes/origin/banner-utils-test-#5 👈
Switched to a new branch 'banner-utils-test-#5'
branch 'banner-utils-test-#5' set up to track 'origin/banner-utils-test-#5'. 👈
/usr/bin/git log -1 --format='%H'
'0f74d16753f11edb247f21e16e9be6d80ed3b387'
Steps to reproduce this issue
Try on a branch like xxxx-xx-#3
Expected behaviour
I don't know if this is the intended behaviour. banner-utils-test-#5 should translate to it self instead of banner-utils-test--5
Configuration
name: build-teston: [push]jobs:
Lint-Build-UnitTest:
runs-on: ubuntu-latestenv:
REGISTRY: ghcr.ioIMAGE_NAME: ${{ github.repository }}steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2with:
node-version: "16"
- name: npm ci (normal) on ./functions - fastrun: npm ci --no-audit --progress=falseworking-directory: ./functions
- name: prettierrun: npm run prettier
- name: lintrun: npm run lint
- name: buildrun: npm run build
- name: unit-testrun: npm run test:unit
- name: Delete dev node_modulesrun: rm -rf node_modulesworking-directory: ./functions
- name: npm ci --prod on ./functions - fastrun: npm ci --production --no-audit --progress=falseworking-directory: ./functions# docker starting
- name: Set up Docker Buildxuses: docker/setup-buildx-action@v1
- name: Log in to the Container registryuses: docker/login-action@v1with:
registry: ${{ env.REGISTRY }}username: ${{ github.actor }}password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker 👈id: metauses: docker/metadata-action@v3with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker imageuses: docker/build-push-action@v2with:
context: .push: truetags: ${{ steps.meta.outputs.tags }} 👈labels: ${{ steps.meta.outputs.labels }}cache-from: type=registry,ref=${{ steps.meta.outputs.tags }}cache-to: type=inlineIntegration-Test:
runs-on: ubuntu-latestneeds: Lint-Build-UnitTestcontainer:
image: node:16.13.2-slimenv:
GCLOUD_PROJECT: demo-friendly-octopus-u4st7gxr8FIRESTORE_EMULATOR_HOST: firebase_emulator:8080FIREBASE_STORAGE_EMULATOR_HOST: firebase_emulator:9199FIREBASE_AUTH_EMULATOR_HOST: firebase_emulator:9099MONGO_DB_URI: mongodb://mongodb:27017services:
firebase_emulator:
image: ghcr.io/xxxx/xxxx:${{ github.ref_name }}env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}AVOID_FUNCTIONS_EMULATION: "yes"mongodb:
image: mongoenv:
MONGO_INITDB_DATABASE: Friendlysteps:
- uses: actions/checkout@v2
- name: fresh npm cirun: npm ci --no-audit --progress=falseworking-directory: ./functions
- name: buildrun: npm run buildworking-directory: ./functions
- name: Integration Testrun: npm run test:integration
The text was updated successfully, but these errors were encountered:
Behaviour
When I run metadata for on my branch
banner-utils-test-#5
gives me a tag of:banner-utils-test--5
. Is this expected?Relevant actions/checkout logs for the branch info:
Steps to reproduce this issue
Try on a branch like
xxxx-xx-#3
Expected behaviour
I don't know if this is the intended behaviour.
banner-utils-test-#5
should translate to it self instead ofbanner-utils-test--5
Configuration
The text was updated successfully, but these errors were encountered: