Skip to content

Build CoDev Container #2

Build CoDev Container

Build CoDev Container #2

name: Build CoDev Container
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker Login
# You may pin to the exact commit or the version.
# uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d
uses: docker/[email protected]
with:
registry: registry.gitlab.com
username: ${{DOCKER_USER}}

Check failure on line 17 in .github/workflows/codev-docker-image.yml

View workflow run for this annotation

GitHub Actions / Build CoDev Container

Invalid workflow file

The workflow is not valid. .github/workflows/codev-docker-image.yml (Line: 17, Col: 21): Unrecognized named-value: 'DOCKER_USER'. Located at position 1 within expression: DOCKER_USER .github/workflows/codev-docker-image.yml (Line: 19, Col: 21): Unrecognized named-value: 'DOCKER_TOKEN'. Located at position 1 within expression: DOCKER_TOKEN
# Password or personal access token used to log against the Docker registry
password: ${{DOCKER_TOKEN}}
- name: Build the Docker image
run: docker build -t registry.gitlab.com/currax-data-science/generative_deep_learning_2nd_edition:${{github.run_number}} -f docker/Dockerfile.codev .
- name: Push Docker Image
run: docker push registry.gitlab.com/currax-data-science/generative_deep_learning_2nd_edition:${{github.run_number}}