Skip to content

Added pipeline configuration. #1

Added pipeline configuration.

Added pipeline configuration. #1

Workflow file for this run

name: Deploy Images to GHCR
env:
IMAGE_NAME: ghcr.io/justereseau/jackett
on:
push:
branches:
- main
workflow_dispatch:
jobs:
push-store-image:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "./Store"
steps:
- name: "Checkout GitHub Action"
uses: actions/checkout@main
- name: "Login to GitHub Container Registry"
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: "Build Inventory Image"
run: |
docker build --build-arg RELEASE_TAG=$RELEASE_TAG -t $IMAGE_NAME:latest -t $IMAGE_NAME:$RELEASE_TAG .
docker push $IMAGE_NAME:latest
docker push $IMAGE_NAME:$RELEASE_TAG