Fixed mastodon version injection into containers via github actions (#24873)

local
Tim Campbell 1 year ago committed by GitHub
parent c9e040fb24
commit f258478395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/build-image.yml
  2. 2
      .github/workflows/build-nightly.yml

@ -61,7 +61,7 @@ jobs:
id: version_vars
if: github.repository == 'mastodon/mastodon' && github.event_name == 'push' && github.ref_name == 'main'
run: |
echo mastodon_version_suffix=\"+edge-$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT
echo mastodon_version_suffix=+edge-$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT
- uses: docker/build-push-action@v4
with:

@ -44,7 +44,7 @@ jobs:
- name: Generate version suffix
id: version_vars
run: |
echo mastodon_version_suffix=\"+nightly-$(date +'%Y%m%d')\" >> $GITHUB_OUTPUT
echo mastodon_version_suffix=+nightly-$(date +'%Y%m%d') >> $GITHUB_OUTPUT
- uses: docker/build-push-action@v4
with:

Loading…
Cancel
Save