Skip to content

Commit

Permalink
Merge pull request #16 from sjinks/renovate/pin-dependencies
Browse files Browse the repository at this point in the history
chore(deps): pin dependencies
  • Loading branch information
sjinks authored Apr 10, 2024
2 parents 43f56c6 + 2150239 commit 216cf23
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- "-DMINIMALISTIC_BUILD"
steps:
- name: Check out source code
uses: actions/[email protected]
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4

- name: Install dependencies
run: sudo apt-get -qq update && sudo apt-get install -y libev-dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0

- name: Build and push
uses: docker/[email protected]
uses: docker/build-push-action@e1b7f96249f2e4c8e4ac1519b9608c0d48944a1f # v2.4.0
with:
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
push: ${{ github.event_name != 'pull_request' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ jobs:

steps:
- name: Checkout
uses: actions/[email protected]
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4

- name: Docker Hub Description
uses: peter-evans/[email protected]
uses: peter-evans/dockerhub-description@4b076256d20bc4b2997c02eaac7bba806175c2b2 # v2.4.2
with:
username: ${{ secrets.DOCKER_LOGIN }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: wildwildangel/mysql-honeypotd
short-description: A low-interaction MySQL honeypot

- name: Docker Hub Description
uses: peter-evans/[email protected]
uses: peter-evans/dockerhub-description@4b076256d20bc4b2997c02eaac7bba806175c2b2 # v2.4.2
with:
username: ${{ secrets.DOCKER_LOGIN }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.13 AS deps
FROM alpine:3.13@sha256:469b6e04ee185740477efa44ed5bdd64a07bbdd6c7e5f5d169e540889597b911 AS deps
RUN apk add --no-cache gcc make libc-dev libev-dev
WORKDIR /src/mysql-honeypotd
COPY . /src/mysql-honeypotd
Expand All @@ -16,7 +16,7 @@ ENV \
LDFLAGS="-static"
RUN make && strip mysql-honeypotd

FROM alpine:3.13 AS release-dynamic
FROM alpine:3.13@sha256:469b6e04ee185740477efa44ed5bdd64a07bbdd6c7e5f5d169e540889597b911 AS release-dynamic
RUN apk add --no-cache libev
COPY --from=build-dynamic /src/mysql-honeypotd/mysql-honeypotd /usr/bin/mysql-honeypotd
EXPOSE 3306
Expand Down

0 comments on commit 216cf23

Please sign in to comment.