Skip to content

Commit

Permalink
updated docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3r-04 committed May 24, 2024
1 parent 9135b1c commit eac5151
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/publish-image.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
name: CI/CD
name: ci

on:
push:
branches:
- main

jobs:
publish-image:
docker:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: build
run: |
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/fpassword:latest .
- name: publish
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build
uses: docker/build-push-action@v5
with:
context: .
load: true
tags: myimage:latest

- name: Inspect
run: |
docker push ${{ secrets.DOCKERHUB_USERNAME }}/fpassword:latest
docker image inspect ${{secrets.DOCKER_USERNAME}}/fpassword:latest

0 comments on commit eac5151

Please sign in to comment.