Skip to content

Commit

Permalink
updated gnupg
Browse files Browse the repository at this point in the history
  • Loading branch information
Ran-snow committed Oct 29, 2022
1 parent 8609a19 commit 62b790a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,40 @@ jobs:
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get tag name only
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Get downcase repo
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Log in to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push latest to Docker Hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/nginx:latest
- name: Build and Push tag to Docker Hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/nginx:amd64-${{ env.RELEASE_VERSION }}
- name: Build and Push latest to Git Hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/${{ env.REPO }}/nginx:latest
- name: Build and Push tag to Git Hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/${{ env.REPO }}/nginx:amd64-${{ env.RELEASE_VERSION }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ RUN GPG_KEYS_NGINX=B0F4253373F8F6F510D42178520A9993A1C052F8 \
linux-headers \
curl \
git \
gnupg1 \
gnupg \
libxslt-dev \
gd-dev \
geoip-dev \
Expand Down

0 comments on commit 62b790a

Please sign in to comment.