Skip to content

Commit

Permalink
(ci) Temp allow tag for branch
Browse files Browse the repository at this point in the history
  • Loading branch information
csparker247 committed Dec 14, 2023
1 parent 9eaff0f commit abae9f0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ concurrency: docker

jobs:
base_image:
name: Build Docker image
name: Build base image
runs-on: ubuntu-latest
steps:
- name: Extract Docker metadata
Expand All @@ -19,6 +19,7 @@ jobs:
flavor: |
latest=false
tags: |
type=ref,prefix=base.,event=branch
type=ref,prefix=base.,event=pr
type=semver,prefix=base.,pattern={{version}}
type=semver,prefix=base.,pattern={{major}}.{{minor}}
Expand All @@ -38,7 +39,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build base image
- name: Build image
uses: docker/build-push-action@v3
with:
file: ./Dockerfile.base
Expand All @@ -50,7 +51,7 @@ jobs:
cache-from: type=gha

vcdeps_images:
name: Build Docker image
name: Build vc-deps images
runs-on: ubuntu-latest
needs: base_image
strategy:
Expand All @@ -66,6 +67,7 @@ jobs:
flavor: |
latest=false
tags: |
type=ref,prefix=base.,event=branch
type=ref,prefix={{ matrix.type }}.,event=pr
type=semver,prefix={{ matrix.type }}.,pattern={{version}}
type=semver,prefix={{ matrix.type }}.,pattern={{major}}.{{minor}}
Expand All @@ -86,7 +88,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build base image
- name: Build image
uses: docker/build-push-action@v3
with:
file: ./Dockerfile.{{ matrix.type }}
Expand Down

0 comments on commit abae9f0

Please sign in to comment.