Skip to content

IMG-8 fix: Attempt fixing permission issues #2

IMG-8 fix: Attempt fixing permission issues

IMG-8 fix: Attempt fixing permission issues #2

Workflow file for this run

name: Deploy
on:
push:
tags:
- '*'
permissions:
packages: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Extract release version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Buildx
uses: docker/setup-buildx-action@v3
- name: Build & push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ github.repository }}:latest , ${{ github.repository}}:${{ env.RELEASE_VERSION }}