Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
phoehnel committed Jan 9, 2022
1 parent 3456f09 commit a705b6d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/publish_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ on:
push:
branches:
- dev

paths-ignore:
- '**.md'
- '.gitignore'
- '.github/**'
- '.doc/**'

jobs:
build:
runs-on: ubuntu-latest
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/publish_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ on:
push:
branches:
- main
paths-ignore:
- '**.md'
- '.gitignore'
- '.github/**'
- '.doc/**'

jobs:
build:
Expand All @@ -32,7 +37,7 @@ jobs:
with:
tag_name: ${{ steps.date.outputs.date }}
release_name: ${{ steps.date.outputs.date }}
body: Automatically created release for pushs in main
body: "Automatically created release for push: in main ${{ github.event.head_commit.message }}"
prerelease: true

- name: Update Docker Hub Description
Expand All @@ -53,6 +58,9 @@ jobs:
- name: Login to DockerHub
run: echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin

- name: Pull image to leverage cache
run: docker pull "$IMAGE_NAME:latest"

- name: Build the tagged Docker image
run: >
docker buildx build
Expand Down

0 comments on commit a705b6d

Please sign in to comment.