mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-09-22 06:12:21 +03:00
Refactor Docker image build workflow: add dependency on build-linux-package and update artifact naming for clarity
This commit is contained in:
@@ -144,6 +144,7 @@ jobs:
|
|||||||
|
|
||||||
build-docker-image:
|
build-docker-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: [build-linux-package]
|
||||||
env:
|
env:
|
||||||
REGISTRY_URL: git.darkzoul.org
|
REGISTRY_URL: git.darkzoul.org
|
||||||
REGISTRY_OWNER: dark_zoul
|
REGISTRY_OWNER: dark_zoul
|
||||||
@@ -159,12 +160,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: yt-playlist-linux-${{TAG}}.tar.gz
|
name: linux-zip
|
||||||
|
|
||||||
- name: Extract linux-zip artifact
|
- name: Extract linux-zip artifact
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
tar -xzf yt-playlist-linux-${{TAG}}.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