on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: A job to say hello
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set Docker tag
id: tag
uses: cytopia/docker-tags@v1
- 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 }}-
Notifications
You must be signed in to change notification settings - Fork 2
GitHub Action to create Docker tag based on git branch or git tag
License
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