add hostname to "uses"

This commit is contained in:
Oliver Lippert 2024-02-09 18:57:57 +01:00
parent 88d7b082c3
commit 58430ac80f
Signed by: oliver
GPG key ID: 4AE99C459BC7D2B3

View file

@ -10,17 +10,17 @@ jobs:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1 uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1
- name: Login - name: Login
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # 3.0.0 uses: https://github.com/docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # 3.0.0
with: with:
registry: git.keine.cloud registry: git.keine.cloud
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # 5.1.0 uses: https://github.com/docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # 5.1.0
with: with:
push: true push: true
tags: git.keine.cloud/${{ env.GITHUB_REPOSITORY }}:latest tags: git.keine.cloud/${{ env.GITHUB_REPOSITORY }}:latest