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:
|
# with:
|
||||||
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
# 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
|
- name: Build and push Docker image
|
||||||
uses: https://github.com/docker/build-push-action@v5
|
uses: https://github.com/docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags:
|
tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest"
|
||||||
- registry.mgrote.net/httpd:latest
|
|
||||||
|
|
||||||
|
|
||||||
# depends on lint
|
# depends on lint
|
||||||
|
|
Loading…
Reference in a new issue