Skip to content

lower test2

lower test2 #7

Workflow file for this run

name: Docker Build & Publish
# on:
# push:
# branches:
# - main
on: [push]
# on:
# push:
# tags:
# - '*'
env:
REGISTRY: opswat
IMAGE_NAME: ${{ github.repository },,}

Check failure on line 15 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Docker Build & Publish

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 15, Col: 15): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
jobs:
dockerbuild:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USER }}
# password: ${{ secrets.DOCKERHUB_PASS }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.IMAGE_NAME }}
- run: echo "imagename ${{ env.IMAGE_NAME }}"
- run: echo "TAG ${{ github.ref_name }}"
# - name: Build and push
# uses: docker/build-push-action@v4
# with:
# push: true
# tags: ${{ github.ref_name }}
# build-args: version=${{ github.ref_name }}