Skip to content

Commit

Permalink
Push image
Browse files Browse the repository at this point in the history
  • Loading branch information
mrMigles authored and seiv0814 committed Nov 15, 2024
1 parent 4efb4ad commit 8af4571
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build Artifacts
on:
push:
branches:
- '**'

jobs:
multiplatform_build:
strategy:
fail-fast: false
matrix:
component:
- name: disaster-recovery-daemon
file: docker/Dockerfile
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
no-cache: true
context: ${{ matrix.component.dir }}
file: ${{ matrix.component.file }}
platforms: linux/amd64,linux/arm64
push: false
tags: ${{ matrix.component.name }}
provenance: false
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
release_tag: 1.0.0
2 changes: 1 addition & 1 deletion pkg/httpserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package httpserver
import (
"crypto/tls"
"fmt"
"git.netcracker.com/PROD.Platform.Streaming/disaster-recovery-daemon/config"
"github.com/Netcracker/disaster-recovery-daemon/config"
"net/http"
)

Expand Down

0 comments on commit 8af4571

Please sign in to comment.