Skip to content

Build Containers

Build Containers #1

---
name: "Build Tag"
on:
workflow_dispatch:
push:
tags:
- '*'
jobs:
build-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Login to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: docker build
run: /var/run/docker-build.sh
- name: docker tag
run: |

Check failure on line 30 in .github/workflows/build-containers.yml

View workflow run for this annotation

GitHub Actions / Build Tag

Invalid workflow file

The workflow is not valid. .github/workflows/build-containers.yml (Line: 30, Col: 14): Unrecognized named-value: 'GITHUB_REF_NAME'. Located at position 1 within expression: GITHUB_REF_NAME
docker tag localhost/postiz ghcr.io/githubhq/postiz-app:${{ GITHUB_REF_NAME }}
docker push ghcr.io/githubhq/postiz-app:${{ GITHUB_REF_NAME }}
docker tag localhost/postiz-devcontainer ghcr.io/githubhq/postiz-app:${{ GITHUB_REF_NAME }}
docker push ghcr.io/githubhq/postiz-devcontainer:${{ GITHUB_REF_NAME }}