Skip to content

Commit

Permalink
Merge pull request #190 from rackerlabs/common-container
Browse files Browse the repository at this point in the history
fix: correct issues with the common container
  • Loading branch information
ctria authored Aug 2, 2024
2 parents c5613aa + 5893d2a commit 06c6cef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ghcr.io/rackerlabs/understack/${{ matrix.container.name }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=tag
type=ref,event=pr
labels: |
org.opencontainers.image.title=${{ matrix.container.title }}
env:
Expand Down
2 changes: 1 addition & 1 deletion containers/Dockerfile.ironic-nautobot-client
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ WORKDIR /app
RUN mkdir -p /opt/venv/wheels/
COPY --from=builder /app/dist/*.whl /app/dist/requirements.txt /opt/venv/wheels/

RUN --mount=type=cache,target=/root/.cache/.pip /opt/venv/bin/pip install --find-links /opt/venv/wheels/ --only-binary netifaces -r /opt/venv/wheels/requirements.txt
RUN --mount=type=cache,target=/root/.cache/.pip /opt/venv/bin/pip install --find-links /opt/venv/wheels/ --only-binary netifaces -r /opt/venv/wheels/requirements.txt understack-workflows

USER $APP_USER
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import sushy
from nautobot import Nautobot

from understack_workflows.helpers import arg_parser
from understack_workflows.helpers import credential
Expand All @@ -8,6 +7,7 @@
from understack_workflows.helpers import oob_sushy_session
from understack_workflows.helpers import setup_logger
from understack_workflows.models import Chassis
from understack_workflows.nautobot import Nautobot

logger = setup_logger(__name__)

Expand Down

0 comments on commit 06c6cef

Please sign in to comment.