mirror of
https://github.com/ManiMatter/decluttarr.git
synced 2026-04-26 10:45:39 +02:00
test
This commit is contained in:
7
.github/workflows/push-main-image-ghcr.yml
vendored
7
.github/workflows/push-main-image-ghcr.yml
vendored
@@ -9,8 +9,10 @@ on:
|
|||||||
tags: ["v[0-9]+.[0-9]+.[0-9]*"]
|
tags: ["v[0-9]+.[0-9]+.[0-9]*"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push-decluttarr-image:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
new_tag: ${{ steps.setversion.outputs.new_tag }}
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: '.'
|
working-directory: '.'
|
||||||
@@ -28,6 +30,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
|
|
||||||
- name: Bump version and push tag
|
- name: Bump version and push tag
|
||||||
id: setversion
|
id: setversion
|
||||||
uses: anothrNick/github-tag-action@1.36.0
|
uses: anothrNick/github-tag-action@1.36.0
|
||||||
@@ -38,7 +41,7 @@ jobs:
|
|||||||
- name: "Build, Tag, and push the Docker image"
|
- name: "Build, Tag, and push the Docker image"
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: ghcr.io/manimatter/decluttarr
|
IMAGE_NAME: ghcr.io/manimatter/decluttarr
|
||||||
IMAGE_TAG: ${{ steps.setversion.new_tag }}
|
IMAGE_TAG: ${{ steps.build.outputs.new_tag }}
|
||||||
run: |
|
run: |
|
||||||
docker build -f docker/Dockerfile -t $IMAGE_NAME:$IMAGE_TAG .
|
docker build -f docker/Dockerfile -t $IMAGE_NAME:$IMAGE_TAG .
|
||||||
docker push $IMAGE_NAME:$IMAGE_TAG
|
docker push $IMAGE_NAME:$IMAGE_TAG
|
||||||
|
|||||||
Reference in New Issue
Block a user