mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-09-22 06:12:21 +03:00
Refactor Dockerfile to use alpine base image and streamline dependencies; update workflows to handle artifact downloads and extraction
This commit is contained in:
@@ -24,6 +24,24 @@ jobs:
|
||||
REF="${GITEA_REF:-$GITHUB_REF}"
|
||||
TAG="${REF#refs/tags/}"
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
|
||||
- name: Download linux-zip artifact from other run
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: linux-zip
|
||||
github-token: ${{ secrets.REPO_READ }}
|
||||
repository: ${{ github.repository }}
|
||||
run-id: ${{ github.run_id }}
|
||||
|
||||
- name: Extract linux-zip artifact
|
||||
run: |
|
||||
set -e
|
||||
tar -xzf linux-zip.tar.gz
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Build Docker image with release tag
|
||||
run: docker build ./ -t ${{ env.REGISTRY_URL }}/${{ env.REGISTRY_OWNER }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
||||
|
||||
Reference in New Issue
Block a user