Skip to content

Commit

Permalink
Update publish-docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorbobaylor committed Mar 31, 2024
1 parent 82ad277 commit 2be961f
Showing 1 changed file with 2 additions and 34 deletions.
36 changes: 2 additions & 34 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Docker image and Windows Executable
name: Publish Docker image

on:
push:
Expand Down Expand Up @@ -32,36 +32,4 @@ jobs:
context: .
push: true
tags: taylorbobaylor/movie-trailer-downloader:latest
platforms: linux/amd64,linux/arm64

build_windows_executable:
name: Build Windows Executable
runs-on: windows-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Build Windows executable
run: echo "Build your Windows executable here"

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./path/to/your/windows/executable.exe
asset_name: windows-executable.exe
asset_content_type: application/octet-stream
platforms: linux/amd64, linux/arm64

0 comments on commit 2be961f

Please sign in to comment.