Skip to content

Commit

Permalink
Create docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusnordlander authored May 24, 2023
1 parent a4179cd commit 8c6fc85
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: build our image

on:
push:
branches:
- main
workflow_dispatch: ~

jobs:
build-7:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: install buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
buildx-version: latest
- name: login to docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
run: "docker buildx build --pull --push --tag rdey/redis-ssl-dev:7 --platform linux/amd64,linux/arm64 ."

0 comments on commit 8c6fc85

Please sign in to comment.