Skip to content

Commit

Permalink
remove auth file
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 20, 2024
1 parent fe3c80a commit 9ba289f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
3 changes: 2 additions & 1 deletion ansible/roles/podman/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
GITHUB_OWNER: "{{ github_owner }}"
GITHUB_REPOSITORY: "{{ github_repository }}"
CONTAINER_REGISTRY: "{{ azure_container_registry }}"
CONTAINER_REGISTRY_AUTH: "{{ (azure_container_registry_username + ':' + azure_container_registry_password) | b64encode }}"
CONTAINER_REGISTRY_USERNAME: "{{ azure_container_registry_username }}"
CONTAINER_REGISTRY_PASSWORD: "{{ azure_container_registry_password }}"
volumes:
- /.pat:/.pat
state: created
Expand Down
1 change: 0 additions & 1 deletion images/docker/image-factory-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ RUN mkdir -p ${USER_HOME}/containers && \
# Add podman configuration file(s)
ADD files/containers.conf ${USER_HOME}/containers/containers.conf
ADD files/registries.conf ${USER_HOME}/containers/registries.conf
ADD files/auth.json ${USER_HOME}/containers/auth.json
RUN chown ${USER_GROUP}:${USER_NAME} ${USER_HOME}

# Setup for rootless podman
Expand Down
7 changes: 0 additions & 7 deletions images/docker/image-factory-runner/files/auth.json

This file was deleted.

0 comments on commit 9ba289f

Please sign in to comment.