Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
fix: update Docker-multiplatform image
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Dmitrienko committed Jun 25, 2024
1 parent 16f1713 commit fefbec6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/multiplatform.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Multiplatform Docker build & push
on:
workflow_dispatch:
push:
release:
types: [published]
jobs:
build:
env:
REGISTRY: ghcr.io
IMAGENAME: ${{ github.event.repository.name }}
TAG: ${{ github.ref_name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -21,6 +22,7 @@ jobs:
- name: Run tests
run: mkdir frontend/dist && touch frontend/dist/tmp && go test ./...
- name: Docker build
if: github.actor != 'dependabot[bot]'
uses: mr-smithers-excellent/docker-build-push@v6
id: build
with:
Expand All @@ -30,4 +32,5 @@ jobs:
platform: linux/amd64,linux/arm64
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
addLatest: ${{ github.ref == 'refs/heads/master' }}
addLatest: ${{ startsWith(github.ref, 'refs/tags/v') }}
buildArgs: TAG=${{ env.TAG }}

0 comments on commit fefbec6

Please sign in to comment.