Skip to content

Commit

Permalink
Fix Docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechilds committed Jan 11, 2022
1 parent 60d4090 commit fb4500d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/on-master-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
name: Build and push Docker image
runs-on: ubuntu-18.04
env:
TOR_VERSION: 0.4.6.8@sha256:c262923ffd0bd224a4a4123cf1c88eea11e2314566b7b7e8a1f77969deeb0208
TOR_VERSION: 0.4.6.8
TOR_CHECKSUM: @sha256:c262923ffd0bd224a4a4123cf1c88eea11e2314566b7b7e8a1f77969deeb0208
steps:
- name: Login to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
Expand All @@ -32,5 +33,6 @@ jobs:
docker buildx build \
--platform linux/amd64,linux/arm64 \
--build-arg TOR_VERSION=$TOR_VERSION \
--build-arg TOR_CHECKSUM=$TOR_CHECKSUM \
--tag ${{ secrets.DOCKER_HUB_USER }}/tor-server:$TOR_VERSION \
--push .
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG TOR_VERSION=0.4.6.8@sha256:c262923ffd0bd224a4a4123cf1c88eea11e2314566b7b7e8a1f77969deeb0208
ARG TOR_VERSION=0.4.6.8
ARG TOR_CHECKSUM=@sha256:c262923ffd0bd224a4a4123cf1c88eea11e2314566b7b7e8a1f77969deeb0208

FROM lncm/tor:$TOR_VERSION
FROM lncm/tor:${TOR_VERSION}${TOR_CHECKSUM}

# Install s6
USER root
Expand Down

0 comments on commit fb4500d

Please sign in to comment.