Commit graph

72 commits

Author SHA1 Message Date
なつき
3db9ab911b Use podman rmi -a -f instead of podman system reset -f 2021-10-08 17:17:16 +00:00
なつき
82525cd140 Refactor 2021-10-08 17:14:46 +00:00
なつき
213d6c4f7f Cleanup temporary storage with podman system reset -f 2021-10-08 17:11:57 +00:00
なつき
a6c2c0fd7f Remove image only if pulled from docker 2021-10-08 17:06:57 +00:00
なつき
aa32e639fb Fix workflow 2021-10-08 10:03:04 -07:00
なつき
fa0ae70f85 Use matrix build to test fully image name tag 2021-10-08 09:49:17 -07:00
なつき
d1bec30625 Address review feedbacks 2021-10-08 15:43:13 +00:00
なつき
4720effdc4 Update @actions/exec 2021-10-08 06:51:08 +00:00
なつき
7c34a11f04 Log error during cleanup 2021-10-08 05:51:18 +00:00
なつき
e47e573c16 Remove docker images before removing temp storage 2021-10-08 04:54:22 +00:00
なつき
fa01218bc2 Setup storage-opts for temporary storage 2021-10-08 04:37:39 +00:00
なつき
d6ba509bbd Use --root to when pulling from docker 2021-10-08 04:06:06 +00:00
なつき
6b269c55d3 Support docker/metadata-action 2021-10-07 19:40:22 -07:00
Divyanshu Agrawal
1d3fd04cee
Document and add GHCR example (#49)
* Document and add GHCR example

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-10-04 18:42:43 +05:30
divyansh42
227b0eed37 Switch back to ubuntu-20.04
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-09-23 18:20:34 +05:30
divyansh42
0cd5b90340 Update changelog for v2.3.2
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-09-15 11:04:49 +05:30
Tim Etchells
39f4393770 fix path to install_latest script
Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-09-13 14:18:09 -07:00
Tim Etchells
ef7cace71d
Simplify push test (#48)
- shorter, faster, simpler
- now all test workflows are pushing 'ptr-test'
    - no more petclinic

Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-09-13 14:14:59 -07:00
Tim Etchells
dff05ea2fa
fix image namespace for new secrets structure (#47)
Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-09-13 10:13:29 -07:00
Tim Etchells
cedd174f01
add the word 'local' to the image check messages (#46)
Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-09-13 22:16:32 +05:30
Divyanshu Agrawal
85f9459926
Add matrix to install latest podman version (#44)
* Add matrix to install latest podman version

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-09-13 19:50:48 +05:30
divyansh42
0e2528bfb5 Temporarily switch to ubuntu-18.04
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-07-19 19:35:19 +05:30
divyansh42
97623df943 Update changelog for v2.3.1`
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-24 00:33:27 +05:30
Divyanshu Agrawal
420cb7c68b
Fix registry-path not having tag with it (#41)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-23 14:59:34 -04:00
Divyanshu Agrawal
5ec72be08b
Fix failure if image name has "/" in it's name and present in docker (#40)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-23 14:29:56 -04:00
divyansh42
c812c2069e Add changelog for v2.3
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-22 22:02:24 +05:30
Divyanshu Agrawal
984901b4bb
Warn user if input image and registry both have / (#39)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-22 12:27:32 -04:00
Tim Etchells
6a46770abc Log pull errors at 'warning' level
Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-04-21 13:27:26 -04:00
divyansh42
be177395ba Add changelog for v2.2
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-12 20:08:32 +05:30
Tim Etchells
9257a569a9 Update readme
Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-04-12 08:44:38 -04:00
Divyanshu Agrawal
321a4c5e98
Make input username and password optional (#35)
* Make input username and password optional since user can use podman login
* Add cron triggers to workflows
* Group podman version output

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-04-12 08:35:25 -04:00
Divyanshu Agrawal
b5dbf66601
Fix error message in logs when image is not present in docker (#34)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-03-10 14:00:50 -05:00
divyansh42
ae3d342a76 Add changelog for v2.1.1
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-26 00:52:55 +05:30
Divyanshu Agrawal
68d33690dc
Improve error message when images not found (#31)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-25 12:01:09 -05:00
Tim Etchells
2b929ada2e Add note about ubuntu/Podman version
Fixes #26

Signed-off-by: Tim Etchells <tetchell@redhat.com>
2021-02-22 14:10:22 -05:00
divyansh42
63909e5fa4 Add changelog for v2.1
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-22 23:06:32 +05:30
Tim Etchells
dec02e9270 Simplify 'echo outputs' workflow steps
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2021-02-22 11:49:46 +05:30
Tim Etchells
24d8460d9f Add back singular registry-path output
Fixes #29

Signed-off-by: Tim Etchells <tetchell@redhat.com>
2021-02-22 11:49:46 +05:30
Tim Etchells
902794f5ab Print podman version at start
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2021-02-20 14:23:22 -05:00
Tim Etchells
e8a67de103 Print image digest after every push
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2021-02-20 14:07:32 -05:00
Tim Etchells
74b235b626 Remove pull_request_target from workflows that push images
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2021-02-20 13:37:54 -05:00
divyansh42
f52484f302 Add Link checker workflow
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-17 08:55:47 -05:00
K3rnelPan1c
0ab92f3d53
Fix action version in README 2021-02-14 16:13:09 -05:00
Divyanshu Agrawal
dde21b9630
Add CHANGELOG.md (#22)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-10 08:05:36 -05:00
divyansh42
1c986fa976 Fix README to updated output name
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-09 00:47:18 +05:30
Divyanshu Agrawal
4757eb3399
Add IO generator and CI checks (#21)
* Add IO generator and CI checks
* Update Buildah build action to use v2 tag

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-08 13:30:15 -05:00
Divyanshu Agrawal
870f44bc9b
Add feature to pass extra args when pushing image (#19)
If a user wants to pass few extra args to push
command when pushing image, then they can pass
using 'extra-args' input parameter.

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-08 09:37:42 -05:00
Divyanshu Agrawal
e7b5c08b38
Add Test workflows (#20)
Adding test workflows to verify image push,
built from multiple container cli

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-04 19:38:09 -05:00
Divyanshu Agrawal
2e6cff9b90
Add feature to push multiple tags of the image (#18)
* Modify workflow to trigger on pull request

* Update workflow to perform multi tag build and push

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-02-02 21:35:48 -05:00
Divyanshu Agrawal
23eb62f550
Solve issue when image is present in Podman and Docker both (#16)
* Solve issue when image is present in Podman and Docker both

If updated docker image is present in docker env then
docker image won't get used if image same name and tag
is already present in podman env.
To fix this, selected latest built image and removed the
image at the end from the podman env if image is pulled
from docker env.

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-01-19 10:24:49 -05:00