mirror of
https://github.com/JuLi0n21/homepage.git
synced 2026-04-19 15:20:05 +00:00
Remove short SHA retrieval from Docker build workflow
This commit is contained in:
6
.github/workflows/docker-build.yml
vendored
6
.github/workflows/docker-build.yml
vendored
@@ -15,10 +15,6 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Get Short SHA
|
|
||||||
id: vars
|
|
||||||
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Login to Private Registry
|
- name: Login to Private Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -33,4 +29,4 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
docker.illegalesachen.download/repository/astro-homepage:latest
|
docker.illegalesachen.download/repository/astro-homepage:latest
|
||||||
docker.illegalesachen.download/repository/astro-homepage:${{ steps.vars.outputs.sha_short }}
|
docker.illegalesachen.download/repository/astro-homepage:${{ github.sha }}
|
||||||
|
|||||||
Reference in New Issue
Block a user