Skip to content

Commit

Permalink
chore: format workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Braun <rainbowstack@gmail.com>
  • Loading branch information
bluebrown committed Jan 20, 2024
1 parent 6ffa3fe commit dcaf28c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to the container registry
run: docker login --username bluebrown --password ${{secrets.DOCKERHUB_TOKEN}}
- name: build image
run: docker build -t "docker.io/bluebrown/kobold:$(git describe --tags --always --dirty)" -f build/Dockerfile .
- run: |
docker login --username bluebrown --password ${{secrets.DOCKERHUB_TOKEN}}
docker build -t "docker.io/bluebrown/kobold:$(git describe --tags --always --dirty)" -f build/Dockerfile .
docker push docker.io/bluebrown/kobold --all-tags
env:
DOCKER_BUILDKIT: "1"
- name: publish image
run: docker push docker.io/bluebrown/kobold --all-tags

0 comments on commit dcaf28c

Please sign in to comment.