Giter Site home page Giter Site logo

docker-image-artifact-upload's People

Contributors

ishworkh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-image-artifact-upload's Issues

Getting lots of warnings when using this action

Hi - great work with this action! I use it a lot!

I've started to notice lots of warnings though when using it:

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Similar with your other action (https://github.com/ishworkh/docker-image-artifact-download)

Possible to support string interpolation?

Would it require much work to be able to do something like this?

      - name: Build final image
        env:
          IMAGE_TAG: ${{ needs.build_image_tag.outputs.image_tag }}
        run: |
          docker build --target final -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .  # --build-arg?

....

      - name: Upload image to next job
        uses: ishworkh/docker-image-artifact-upload@v1
        with:
          image: "${ECR_REGISTRY}/${ECR_REPOSITORY}:${IMAGE_TAG}"

No support for Build and push action

The following doesn't work:

- name: Build and push
   id: docker_build
   uses: docker/build-push-action@v2
   with:
     push: false
     builder: ${{ steps.buildx.outputs.name }}
     tags: ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ github.sha }}
     build-args: |
       GIT_HEAD_COMMIT=${{ github.sha }}
       GIT_CURRENT_BRANCH=${{ github.ref }}

- name: Upload image
   uses: ishworkh/docker-image-artifact-upload@v1
   with:
     image: "${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ github.sha }}"

image

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.