Skip to content

uppercase

uppercase #12

Workflow file for this run

name: WebGSM-Docker
on:
push:
tags:
- 'v*.*.*'
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Docker
uses: docker/setup-buildx-action@v2
- name: Set lowercase repository owner
run: echo "REPOSITORY_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: |

Check failure on line 34 in .github/workflows/WebGSM-Docker.yml

View workflow run for this annotation

GitHub Actions / WebGSM-Docker

Invalid workflow file

The workflow is not valid. .github/workflows/WebGSM-Docker.yml (Line: 34, Col: 17): Unrecognized named-value: 'GITHUB_REF_NAME'. Located at position 1 within expression: GITHUB_REF_NAME
ghcr.io/${{ env.REPOSITORY_OWNER }}/webgsm:latest
ghcr.io/${{ env.REPOSITORY_OWNER }}/webgsm:${{ GITHUB_REF_NAME }}