Skip to content

Commit

Permalink
test-build
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne committed Oct 27, 2023
1 parent 8ce56a2 commit b2dc496
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ on:
push:
branches:
- main
- test-build
tags:
- v*
pull_request:
branches:
- '*'

permissions:
contents: read
id-token: write

env:
REGISTRY_IMAGE: grafana/tanka
TAGS_CONFIG: |
Expand Down Expand Up @@ -58,8 +63,8 @@ jobs:
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ env.DOCKERHUB_TOKEN }}

- name: Build and push by digest
id: build
Expand Down Expand Up @@ -88,6 +93,8 @@ jobs:
merge:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
needs:
- build
steps:
- name: Download digests
uses: actions/download-artifact@v3
Expand Down

0 comments on commit b2dc496

Please sign in to comment.