Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

typo

typo #21

name: docker-branch-build
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: extract_branch
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: degicadev
password: ${{ secrets.DOCKERHUB_PAT }}
- name: setup
run: |-
docker build . -t degicadev/kaiser:branch-${{ steps.extract_branch.outputs.branch }}
docker push degicadev/kaiser:branch-${{ steps.extract_branch.outputs.branch }}
'on':
push:
branches:
- '*'