on: [push]
jobs:
docker_tag:
runs-on: ubuntu-latest
name: Print Docker tag
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set Docker tag
id: tag
uses: cytopia/[email protected]
- name: build
run: |
docker build -t image_name:${{ steps.tag.outputs.docker-tag }} .
- name: push
run: |
docker push image_name:${{ steps.tag.outputs.docker-tag }}-
Couldn't load subscription status.
- Fork 2
GitHub Action to create Docker tag based on git branch or git tag
License
Couldn't load subscription status.
cytopia/docker-tag-action
Use this GitHub action with your project
Add this Action to an existing workflow or create a new oneFolders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
GitHub Action to create Docker tag based on git branch or git tag
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published