dd
This commit is contained in:
parent
1a3f37a91b
commit
f2a84fc55e
1 changed files with 4 additions and 2 deletions
|
@ -17,14 +17,16 @@ jobs:
|
|||
# with:
|
||||
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Get Meta
|
||||
run: |
|
||||
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
|
||||
- name: Build and push Docker image
|
||||
uses: https://github.com/docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags:
|
||||
- registry.mgrote.net/httpd:latest
|
||||
tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest"
|
||||
|
||||
|
||||
# depends on lint
|
||||
|
|
Loading…
Reference in a new issue