Skip to content

Commit

Permalink
jitsi-component-selector, chore: add context var in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom committed Feb 29, 2024
1 parent b07ceee commit 42b9ad2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/jitsi-component-selector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ on:
- ".github/workflows/jitsi-component-selector.yml"

env:
CONTEXT: jitsi-component-selector
REGISTRY: ghcr.io
IMAGE_NAME: "${{ github.repository }}/jitsi-component-selector"
IMAGE_NAME: "${{ github.repository }}/${{ CONTEXT }}"

jobs:
build:
Expand All @@ -24,6 +25,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Custom metadata
run: |
echo "BUILD_DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
Expand All @@ -47,3 +51,11 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

#- name: Build and push
# uses: docker/build-push-action@v5
# with:
# context: "{{defaultContext}}:${{ env.CONTEXT }}"
# push: true
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 42b9ad2

Please sign in to comment.