Use versions for build steps.
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
|||||||
run: chmod -R 777 pdf
|
run: chmod -R 777 pdf
|
||||||
|
|
||||||
- name: Log into registry
|
- name: Log into registry
|
||||||
uses: docker/login-action
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: cs-registry.ddnss.de
|
registry: cs-registry.ddnss.de
|
||||||
username: ${{ env.USER }}
|
username: ${{ env.USER }}
|
||||||
@@ -37,13 +37,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract Docker metadata
|
- name: Extract Docker metadata
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/ri-st/startup
|
images: ${{ env.REGISTRY }}/ri-st/startup
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
id: build-and-push
|
id: build-and-push
|
||||||
uses: docker/build-push-action
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|||||||
Reference in New Issue
Block a user