Skip to content

Update Dockerfile

Update Dockerfile #24

Workflow file for this run

name: Build and Push Image
on:
push:
branches:
- main
jobs:
build:
name: Build and verify
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
- name: Install dependencies
run: go mod download -x
- name: Build
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/app ./cmd/app
- name: Upload Artifacts
uses: actions/[email protected]
with:
name: video-processing-app
path: bin/app
retention-days: 1
create-image:
name: Build Image and Push
needs: build
uses: cant-code/github-workflows/.github/workflows/docker-push.yml@main
with:
DOCKER_TAG: damnationcantcode/yt-clone-video-processing
ARTIFACT_NAME: video-processing-app
ARTIFACT_PATH: bin
secrets: inherit