Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Workaround composite action to obtain an image tag in an expected format of on-premises k8s deploy.

License

Notifications You must be signed in to change notification settings

MP-ES/generate-image-tag-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discontinued

This project was a workaround. Please use https://github.com/MP-ES/build-push-action instead.

generate-image-tag-action

Workaround composite action to obtain an image tag in an expected format of on-premises k8s-deploy while actions/runner#646 is not ready.

License Integration

Usage

- name: Generate image tag
  id: image_tag
  uses: MP-ES/generate-image-tag-action@v1
  with:
    # Server address of Docker registry. If not set then will default to Docker Hub
    registry: registry.domain.com

    # The name of docker image
    image: "service"

Then, you can do:

- name: Build and Push
  uses: docker/build-push-action@v2
  with:
    tags: "${{ steps.image_tag.outputs.tag }}"

Outputs

Following outputs are available:

Name Type Description
tag String Tag that must to be assigned to docker image

About

Workaround composite action to obtain an image tag in an expected format of on-premises k8s deploy.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages