Coder Social home page Coder Social logo

simplewhaledemo's Introduction

docker-whale

Run me : docker run -p80:80 ushamandya/whale-example

Build me: docker build -t ushamandya/whale-example .

Some notes

Experienced issues with:

  • Building GitHub cache — it seems the cache is expected to exist first
  • Tagging — in VS Code tags are pushed through the command palette: Git: Push Tags
  • GitHub repo casing — could not build to the GitHub repository using a dynamic variable name (see below)

GitHub Container Repo Casing

The following instruction resulted in an error:

# Include builder and cache properties
- name: Build and push
  id: docker_build
  uses: docker/build-push-action@v2
  with:
    context: ./
    file: ./Dockerfile
    builder: ${{ steps.buildx.outputs.name }}
    push: true
    tags: ghcr.io/${{ github.repository_owner }}/simplewhale:latest
buildx failed with: error: invalid tag "ghcr.io/JessicaOPRD/simplewhale:latest": repository name must be lowercase

This is an issue with casing. I could not quickly determine a way to solve this in the context of this tutorial. One way is to use an additional step in the process that applies lowercase to the variable. There are numerous solutions. Here I hard-coded as proof-of-concept.

simplewhaledemo's People

Contributors

nebuk89 avatar jessicaoprd avatar usha-mandya avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.