Skip to content

test

test #8

Workflow file for this run

name: build
on:
push
env:
TEST_TAG: user/app:test
LATEST_TAG: user/app:latest
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Build Docker image
uses: docker/build-push-action@v4
with:
context: .
file: docker/Dockerfile
load: true
tags: ${{ env.TEST_TAG }}
- name: test
container:

Check failure on line 26 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/main.yaml (Line: 26, Col: 9): Unexpected value 'container'
image: ${{ env.TEST_TAG }}
run: |
ls
# build:
# runs-on: ubuntu-latest
# needs: test
# steps:
# - name: Check out Git repository
# uses: actions/checkout@v2
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# registry: ghcr.io
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build Docker image
# uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
# with:
# context: .
# file: docker/Dockerfile
# push: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release'
# tags: ghcr.io/guyzsarun/xrootd-cmsjson:latest