1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-12-22 17:13:13 +00:00
Dmitry Belyaev 2020-10-04 22:49:22 +03:00
parent c3138cec07
commit 6eb782b5a6
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3
2 changed files with 5 additions and 5 deletions

View File

@ -20,10 +20,10 @@ steps:
- name: squid-armhf image for github packages
image: plugins/docker
settings:
repo: docker.pkg.github.com/b4tman/docker-squid/squid-armhf
repo: ghcr.io/b4tman/squid-armhf
auto_tag: true
pull_image: true
registry: docker.pkg.github.com
registry: ghcr.io
username: b4tman
password:
from_secret: github_password

View File

@ -42,11 +42,11 @@ jobs:
run: docker build ssl-bump --tag b4tman/squid:ssl-bump
- name: Log into registry
run: echo "${{ secrets.GITHUB_PKGS_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
run: echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push squid image
run: |
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/squid
IMAGE_ID=ghcr.io/${{ github.actor }}/squid
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
@ -65,7 +65,7 @@ jobs:
- name: Push 'ssl-bump' image
run: |
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/ssl-bump
IMAGE_ID=ghcr.io/${{ github.actor }}/squid-ssl-bump
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')