mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-11-04 07:38:14 +02:00
Refactor Docker image build workflow: remove redundant checkout step and update artifact naming
This commit is contained in:
1 parent
0297fd750e
commit
9a3877c8dd
1 file changed
+2
-5
@@ -149,9 +149,6 @@ jobs:
|
|||||||
REGISTRY_OWNER: dark_zoul
|
REGISTRY_OWNER: dark_zoul
|
||||||
IMAGE_NAME: youtube-playlist-downloader
|
IMAGE_NAME: youtube-playlist-downloader
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
|
||||||
uses: https://gitea.com/actions/checkout@v5
|
|
||||||
|
|
||||||
- name: Extract tag name
|
- name: Extract tag name
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
@@ -162,12 +159,12 @@ jobs:
|
|||||||
- name: Download linux-zip artifact
|
- name: Download linux-zip artifact
|
||||||
uses: christopherhx/gitea-download-artifact@v4
|
uses: christopherhx/gitea-download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-zip
|
name: yt-playlist-linux-${TAG}.tar.gz
|
||||||
|
|
||||||
- name: Extract linux-zip artifact
|
- name: Extract linux-zip artifact
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
tar -xzf linux-zip.tar.gz
|
tar -xzf yt-playlist-linux-${TAG}.tar.gz
|
||||||
|
|
||||||
- name: Build Docker image with release tag
|
- name: Build Docker image with release tag
|
||||||
run: docker build ./ -t ${{ env.REGISTRY_URL }}/${{ env.REGISTRY_OWNER }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
run: docker build ./ -t ${{ env.REGISTRY_URL }}/${{ env.REGISTRY_OWNER }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
||||||
|
|||||||
Reference in new issue
Block a user