mirror of https://github.com/1N3/Sn1per.git
testing
This commit is contained in:
parent
2e7af5d9c0
commit
f5bbb36144
|
|
@ -29,13 +29,13 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
file: Dockerfile.base
|
file: Dockerfile.base
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/${{ REPO_NAME }}:${{ github.sha }}
|
tags: ghcr.io/${REPO_NAME}:${{ github.sha }}
|
||||||
|
|
||||||
- name: Docker image metadata
|
- name: Docker image metadata
|
||||||
id: image_meta
|
id: image_meta
|
||||||
uses: docker/metadata-action@v4
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: ghcr.io/${{ REPO_NAME }}
|
images: ghcr.io/${REPO_NAME}
|
||||||
flavor: latest=true
|
flavor: latest=true
|
||||||
tags: |
|
tags: |
|
||||||
type=sha
|
type=sha
|
||||||
|
|
@ -48,7 +48,7 @@ jobs:
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Push metadata to image
|
- name: Push metadata to image
|
||||||
run: docker push ghcr.io/${{ REPO_NAME }}
|
run: docker push ghcr.io/${REPO_NAME}
|
||||||
|
|
||||||
- name: Push tags to image
|
- name: Push tags to image
|
||||||
run: docker push ${{ steps.image_meta.outputs.tags }}
|
run: docker push ${{ steps.image_meta.outputs.tags }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue