Skip to content

Commit

Permalink
Test commit to build image
Browse files Browse the repository at this point in the history
  • Loading branch information
roceb committed Aug 12, 2024
1 parent d7c5c80 commit 463f07a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
- tickets/*
pull_request:

env:
Expand All @@ -17,6 +18,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ github.repository }}
tags: |
type=raw,value=latest,enable=${{ github.ref_name == 'master' }}
type=raw,value=merge,enable=${{ github.ref_name != 'master' }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -32,6 +41,6 @@ jobs:
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository }}:${{ [github.ref_name = "master"] && echo "latest" ||echo "merge" }}
tags: ${{ steps.meta.outputs.tags }}
build-args: JSWARM_UID=48435,JSWARM_GID=202
labels: runnumber=${{ GITHUB_RUN_ID }}

0 comments on commit 463f07a

Please sign in to comment.