mirror of
https://github.com/5etools-mirror-2/5etools-img.git
synced 2026-03-09 01:46:11 -05:00
Compare commits
1 Commits
63fb995839
...
9497275c87
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9497275c87 |
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
# Strip "v" prefix from tag name
|
||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && IMAGE_VERSION=$(echo $IMAGE_VERSION | sed -e 's/^v//')
|
||||
echo "IMAGE_VERSION=$IMAGE_VERSION" >> $GITHUB_ENV
|
||||
|
||||
|
||||
echo "IMAGE_ID=$(echo ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME | tr '[A-Z]' '[a-z]')" >> $GITHUB_ENV
|
||||
|
||||
# region See: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio
|
||||
@@ -59,16 +59,6 @@ jobs:
|
||||
uses: docker/setup-qemu-action@master
|
||||
with:
|
||||
platforms: all
|
||||
|
||||
- name: Testing metadata extraction
|
||||
id: meta
|
||||
uses: docker/metadata-action@master
|
||||
with:
|
||||
images: kokomo123/5etools-img
|
||||
tags: |
|
||||
add-arm64-building
|
||||
type=edge
|
||||
type=sha
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
@@ -90,9 +80,7 @@ jobs:
|
||||
echo IMAGE_ID=$IMAGE_ID
|
||||
echo IMAGE_VERSION=$IMAGE_VERSION
|
||||
docker tag $IMAGE_ID $IMAGE_ID:$IMAGE_VERSION
|
||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:add-arm64-building
|
||||
docker push $IMAGE_ID:$IMAGE_VERSION
|
||||
docker push $IMAGE_ID:add-arm64-building
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user