WIP: Try ci again.

This commit is contained in:
2025-11-12 12:50:21 -05:00
parent 5cd812ea0d
commit 6b1e6585db
2 changed files with 13 additions and 10 deletions

View File

@@ -40,15 +40,15 @@ jobs:
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels # This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels
# that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a # that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a
# subsequent step. The `images` value provides the base name for the tags and labels. # subsequent step. The `images` value provides the base name for the tags and labels.
- name: Extract metadata (tags, labels) for Docker # - name: Extract metadata (tags, labels) for Docker
id: meta # id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 # uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with: # with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} # images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: | # tags: |
type=ref,event=branch # type=ref,event=branch
type=sha # type=sha
type=raw,value=latest # type=raw,value=latest
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If # This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If
# the build succeeds, it pushes the image to GitHub Packages. It uses the `context` parameter to define the build's context # the build succeeds, it pushes the image to GitHub Packages. It uses the `context` parameter to define the build's context
# as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" # as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)"
@@ -63,4 +63,7 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
tags: michael/swift-dev:latest
secrets: |
GIT_AUTH_TOKEN=${{ secrets.CONTAINER_TOKEN }}

View File

@@ -24,7 +24,7 @@ podman run -it --name "$(basename "$pwd")" \
-v "$HOME/.local/share/nvim":/root/.local/share/nvim \ -v "$HOME/.local/share/nvim":/root/.local/share/nvim \
-v "$(pwd)":/root/dev \ -v "$(pwd)":/root/dev \
-w /root/dev \ -w /root/dev \
git.housh.dev/swift-dev:latest \ git.housh.dev/michael/swift-dev:latest \
/bin/bash /bin/bash
``` ```